millert
c872be65fb
Remove a lie. We don't skip /dev/ttyv* since our pcvt uses /dev/ttyC*.
25 years ago
millert
f110e3be6d
More <sys/file.h> vs. <fcntl.h> and open() flags fixes.
25 years ago
millert
5e97137069
Explicitly include <sys/types.h> and some minor style points.
25 years ago
deraadt
f61554143a
more unescaped \n lines in nroff documents
25 years ago
aaron
4faaf50374
fix bad English, spelling, grammar, comma splices, etc.
25 years ago
aaron
59a9fbf44b
insert a missing .El macro
25 years ago
jakob
42cd8e12d7
Added fparseln from NetBSD.
ok deraadt@
25 years ago
aaron
fcc86d2cb7
better english; deraadt@/millert@
25 years ago
aaron
62c499bcb2
- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
25 years ago
aaron
312386f8de
when using `-' as a negative sign, escape it with a backslash so troff knows
it's not supposed to be a hyphen/dash
25 years ago
aaron
5be2a374dd
The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.
Out of the approximately 1450 man pages, only about 90 of them were wrong.
Thanks to kwesterback@home.com for coming up with a script and patch to repair
this. The patch also inserted a .Os macro in the few man pages that were
missing one.
25 years ago
aaron
92c35c4d57
trash some old leftover macros and replace them with -mdoc macros
25 years ago
aaron
f0554a8a8f
better wording
25 years ago
aaron
142a0471af
whoops, fix a bug in my example :)
25 years ago
aaron
f4692eac7a
add an example
25 years ago
aaron
9fff4267fe
remove redundant .Pp macros
25 years ago
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