summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraaron <>1999-05-27 20:49:35 +0000
committeraaron <>1999-05-27 20:49:35 +0000
commitf60865f24b731ae413f0fa8dc267b7f508e75b0a (patch)
tree1c56c8853b34b71a7b20aeb96fc5222f31250ea7
parent629cc1e026f715bef9adfabd8b33329332499ebe (diff)
downloadopenbsd-f60865f24b731ae413f0fa8dc267b7f508e75b0a.tar.gz
openbsd-f60865f24b731ae413f0fa8dc267b7f508e75b0a.tar.bz2
openbsd-f60865f24b731ae413f0fa8dc267b7f508e75b0a.zip
more missing .El macros filled in
-rw-r--r--src/lib/libc/stdlib/malloc.323
-rw-r--r--src/lib/libc/stdlib/strtod.33
2 files changed, 14 insertions, 12 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index 783629af5d..023a58b832 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: malloc.3,v 1.13 1999/05/23 14:11:03 aaron Exp $ 36.\" $OpenBSD: malloc.3,v 1.14 1999/05/27 20:49:35 aaron Exp $
37.\" 37.\"
38.Dd August 27, 1996 38.Dd August 27, 1996
39.Dt MALLOC 3 39.Dt MALLOC 3
@@ -164,36 +164,36 @@ Flags are single letters, uppercase means on, lowercase means off.
164This is a very handy debugging aid, since the core file will represent the 164This is a very handy debugging aid, since the core file will represent the
165time of failure, 165time of failure,
166rather than when the NULL pointer was accessed. 166rather than when the NULL pointer was accessed.
167 167.Pp
168.It D 168.It D
169``dump'' malloc will dump statistics in a file called ``malloc.out'' at exit. 169``dump'' malloc will dump statistics in a file called ``malloc.out'' at exit.
170This option requires the library to have been compiled with -DMALLOC_STATS in 170This option requires the library to have been compiled with -DMALLOC_STATS in
171order to have any effect. 171order to have any effect.
172 172.Pp
173.It J 173.It J
174``junk'' fill some junk into the area allocated. 174``junk'' fill some junk into the area allocated.
175Currently junk is bytes of 0xd0, this is pronounced ``Duh'' :-) 175Currently junk is bytes of 0xd0, this is pronounced ``Duh'' :-)
176 176.Pp
177.It H 177.It H
178``hint'' pass a hint to the kernel about pages we don't use. If the 178``hint'' pass a hint to the kernel about pages we don't use. If the
179machine is paging a lot this may help a bit. 179machine is paging a lot this may help a bit.
180 180.Pp
181.It N 181.It N
182Do not output warning messages when encountering possible corruption 182Do not output warning messages when encountering possible corruption
183or bad pointers. 183or bad pointers.
184 184.Pp
185.It R 185.It R
186``realloc'' always reallocate when 186``realloc'' always reallocate when
187.Fn realloc 187.Fn realloc
188is called, even if the initial allocation was big enough. 188is called, even if the initial allocation was big enough.
189This can substantially aid in compacting memory. 189This can substantially aid in compacting memory.
190 190.Pp
191.It U 191.It U
192``utrace'' generate entries for 192``utrace'' generate entries for
193.Xr ktrace 1 193.Xr ktrace 1
194for all operations. 194for all operations.
195Consult the source for this one. 195Consult the source for this one.
196 196.Pp
197.It X 197.It X
198``xmalloc'' 198``xmalloc''
199rather than return failure, 199rather than return failure,
@@ -205,14 +205,14 @@ including in the source:
205extern char *malloc_options; 205extern char *malloc_options;
206malloc_options = "X"; 206malloc_options = "X";
207.Ed 207.Ed
208 208.Pp
209.It Z 209.It Z
210``zero'' fill some junk into the area allocated (see ``J''), 210``zero'' fill some junk into the area allocated (see ``J''),
211except for the exact length the user asked for, which is zeroed. 211except for the exact length the user asked for, which is zeroed.
212 212.Pp
213.It < 213.It <
214``Half the cache size'' Reduce the size of the cache by a factor of two. 214``Half the cache size'' Reduce the size of the cache by a factor of two.
215 215.Pp
216.It > 216.It >
217``Double the cache size'' Double the size of the cache by a factor of two. 217``Double the cache size'' Double the size of the cache by a factor of two.
218.El 218.El
@@ -323,6 +323,7 @@ we found something we didn't understand.
323.Bl -tag -width "/etc/malloc.conf" 323.Bl -tag -width "/etc/malloc.conf"
324.It Pa /etc/malloc.conf 324.It Pa /etc/malloc.conf
325symbolic link to file containing option flags 325symbolic link to file containing option flags
326.El
326.Sh SEE ALSO 327.Sh SEE ALSO
327.Xr brk 2 , 328.Xr brk 2 ,
328.Xr alloca 3 , 329.Xr alloca 3 ,
diff --git a/src/lib/libc/stdlib/strtod.3 b/src/lib/libc/stdlib/strtod.3
index 3476fa41d6..14981139c6 100644
--- a/src/lib/libc/stdlib/strtod.3
+++ b/src/lib/libc/stdlib/strtod.3
@@ -33,7 +33,7 @@
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE. 34.\" SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: strtod.3,v 1.2 1996/08/19 08:33:49 tholo Exp $ 36.\" $OpenBSD: strtod.3,v 1.3 1999/05/27 20:49:35 aaron Exp $
37.\" 37.\"
38.Dd June 29, 1991 38.Dd June 29, 1991
39.Dt STRTOD 3 39.Dt STRTOD 3
@@ -99,6 +99,7 @@ is stored in
99.Bl -tag -width Er 99.Bl -tag -width Er
100.It Bq Er ERANGE 100.It Bq Er ERANGE
101Overflow or underflow occurred. 101Overflow or underflow occurred.
102.El
102.Sh SEE ALSO 103.Sh SEE ALSO
103.Xr atof 3 , 104.Xr atof 3 ,
104.Xr atoi 3 , 105.Xr atoi 3 ,