aaron
0d491ceee6
remove extra comma from .Dd arguments: "Month ##, ####" is the correct format,
not "Month, ##, ####"
25 years ago
deraadt
26897f868a
clarify trade secret issue
25 years ago
provos
5f90dc1783
if /dev/arandom is not available for seeding, use data from sysctl
kern.arandom.
25 years ago
aaron
5457e11d62
first round of repairs on stdlib
25 years ago
aaron
f49d82ce18
repairs
25 years ago
aaron
67b066fa85
new mdoc bm(3) man page
25 years ago
millert
f194bdc090
When finding the end of dst, never traverse more than siz bytes. This
keeps us from misbehaving if the user gives us a src string that is not
NUL-terminated. This is one of those "should not happen" cases but it
is good to play it safe. Pointed out by Casper Dik <casper@holland.sun.com>
25 years ago
aaron
1fb47c1d6b
some NAME section cleanup
25 years ago
pjanzen
6e42fdf854
Grammatical, spelling, and format fixes
25 years ago
aaron
f13f3c8dcc
capitalize the acronym ID
25 years ago
aaron
6d2a02c0cd
some repairs, add example to strdup(3) page
25 years ago
aaron
d7aef31b0f
add examples
25 years ago
aaron
9118fe795f
add an example, similar to the one in strspn.3
25 years ago
aaron
db99fe1889
add an example; pattonme@ns.ra.pae.osd.mil
25 years ago
aaron
cc603a885d
"SEE ALSO" -> SEE ALSO, missed these files before
25 years ago
aaron
6a3e297d23
more missing .El macros filled in
25 years ago
aaron
b3ce9a0df3
or'ing -> OR'ing
25 years ago
aaron
6f3ecc442a
getopt(3) does not return -1 when encountering unrecognized options
25 years ago
aaron
48f48f4249
kill some old macros
25 years ago
aaron
2f03f374b1
punctuation
25 years ago
deraadt
d3a04e89da
permit threaded use; jb@freebsd
25 years ago
aaron
4ac47893f2
remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-common
is used instead; kwesterback@home.com
25 years ago
deraadt
aab120ec62
spelling
25 years ago
millert
1c8a35b90b
o Mention strlcpy and strlcat
o strsep is not in ANSI X3.159-1989 (though it is in C9X)
25 years ago
alex
a26623b581
Cleanup xrefs under SEE ALSO. Specifically:
- Sort xrefs by section, and then alphabetically.
- Add missing commas between xref items.
- Remove commas from the last xref entry.
- Remove duplicate entries.
25 years ago
niklas
f5ec9904aa
CBC bug reported by Juergen Nickelsen <ni@tellique.de>
25 years ago
aaron
6093b939d2
correct some Xr's which referred to the wrong man page sections
25 years ago
millert
322baa66fd
Break up into two loops, one for the copy, another to finish traversal
of the src string if len(src) >= size. Speeds up the common case a bit.
25 years ago
millert
32f2bc5502
m68k assembler version of strlcpy(3)
25 years ago
millert
6412bd34bc
simplified version that doesn't call strlen and that is simpler to convert to assembler (both for gcc and me)
25 years ago
wvdputte
b792344682
Fixup of formatting in the example source code
25 years ago
deraadt
52abdb63d2
use stdlib; millert
26 years ago
millert
34c85324ae
Clarify realloc return value
26 years ago
aaron
0921dacac0
typo; nash@mcs.net
26 years ago
brian
d4e74d83fc
Get the pid right if a stale lock file exists.
Submitted by: Lawrence D. Lopez <lopez@cisco.com>
26 years ago
pjanzen
2e427ad79b
fix more comma splices that involve misuse of conjunctive adverbs
26 years ago
pjanzen
d9e39666e6
fix comma splices involving 'however'
26 years ago
millert
4b89c3f774
add examples
26 years ago
millert
ada64a730a
typo
26 years ago
millert
7a5b2ea811
better examples section wrt strncpy()
26 years ago
deraadt
7f5df2724f
make function names the correct case
26 years ago
deraadt
d63c17e8c3
skipjack in libc; isakmpd and such will want it
26 years ago
d
1205763b91
wrong ret type for write define (millert@)
26 years ago
d
21a64850f5
malloc can't use write() if it fails very early, so use the unwrapped syscall _thread_sys_write() if we are threaded
26 years ago
millert
9fe2fbfc57
No need to cast to they type we already are. Also minor KNF
26 years ago
millert
151b095049
remove bogus divide, fixes pr #656
26 years ago
espie
e28e39375b
.Xr strlcat, strlcpy
26 years ago
deraadt
901a859ab9
bad long
26 years ago
d
31570910f0
Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10)
(more md stuff is needed for other libc/arch/*)
(setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO
26 years ago
aaron
8337cf556e
add MLINK for malloc.conf.5 man page, also add FILES section to malloc.3; fries@
26 years ago