summaryrefslogtreecommitdiff
path: root/lib/libc/gen/gethostname.3
AgeCommit message (Collapse)Author
2005-02-25Be correct in our man pages when talking about NUL termination (that is,Chad Loder
termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2001-01-21Shuffle man page sections into preferred order.Aaron Campbell
2000-04-18Repairs, mostly removing hard sentence breaks.Aaron Campbell
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
1999-07-09- remove all trailing whitespaceAaron Campbell
* 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...
1999-06-04After some constructive criticism from pjanzen@ and some e-mail tag:Aaron Campbell
- only use the .Dv NULL form when referring explicitly to a function argument or return value - otherwise, use these forms: o non-null o null-terminated (hyphenated form for predicate adjective) o else, null terminated, or null terminate, whichever the case o null pointer, null byte, null string, etc. - may use NUL to refer to an ASCII NUL, but it doesn't need a .Tn macro In general, capitalizing the word "null" everywhere is unnecessary and makes the man pages harder to read. The above is consistent with popular programming texts (i.e., K&R, Stevens).
1999-06-03use \-1, not -1, to change the meaning of `-' to minus sign from hyphen;Aaron Campbell
pjanzen@
1999-05-29repairs; go back over some old files, because we should properly distinguishAaron Campbell
between NUL and NULL, i.e., don't use the .Dv (defined variable) macro when referring to an ASCII NUL
1999-05-29repairsAaron Campbell
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-05-16Cleanup xrefs under SEE ALSO. Specifically:Alex Feldman
- Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
1999-02-27make function names the correct caseTheo de Raadt
1998-08-29man page repairs; aaron@ug.cs.dal.caTheo de Raadt
1998-07-07per XPG, gethostname() with a short buffer returns truncated data - not ENOMEM.Theo de Raadt
As permitted, make the truncated buffer be NUL terminated. make getdomainname() match.
1998-05-13change size parameter to size_tTheo de Raadt
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1996-04-21sync to netbsd 960418Theo de Raadt
1996-02-24From NetBSD: Fixed SEE ALSO section. Closes PR # 2049 (from Mike LongNiklas Hallqvist
<mike.long@analog.com>)
1995-10-18initial import of NetBSD treeTheo de Raadt