Commit Graph

35 Commits

Author SHA1 Message Date
wiz
5165223fca Bump date for standards. 2005-05-25 10:05:22 +00:00
kleink
c0b528fad0 Truth, meet standards section. Standards section, meet truth. 2005-05-24 18:01:36 +00:00
wiz
d82b36f1ee Add a comma for readability. 2005-04-19 10:00:50 +00:00
lukem
77c203997c remove bogus punctuation 2005-04-19 04:32:58 +00:00
lukem
f948a874e7 Clarify getpw*_r() return value when entry isn't found.
Improve markup of various constants.
2005-04-19 04:26:16 +00:00
wiz
aed63b5317 Use Dq macro; end sentence with a dot; break line
differently so that abbreviation dot is not interpreted as line-ending dot.
2005-04-04 18:26:19 +00:00
wiz
e9c5ce35a3 Remove superfluous comma. 2005-04-04 18:24:21 +00:00
christos
f6d9547d6f Describe get{pw,gr}ent_r. XXX: Are they in any standards? 2005-04-04 14:19:55 +00:00
wiz
0ef0d9cbc7 Drop trailing whitespace. 2005-03-31 11:44:26 +00:00
christos
a075f0f32c Document the return values of the _r functions. 2005-03-31 04:17:05 +00:00
wiz
f74a3e4c4e Add missing function types for getpwnam_r and getpwuid_r. 2004-10-05 13:52:09 +00:00
lukem
45a7a69275 Overhaul the use of nsdispatch(3) by public APIs so that the back-end
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for getpwent(3).
Per my proposal on tech-userlevel.

Implement getpwgid_r() and getpwnam_r() APIs per the POSIX 1003.1, 2004 Ed.
These aren't fully reentrant or threadsafe yet, because the compat stuff
currently uses non-reentrant data sources (getnetgrent(3), getpwent(3)),
and there is probably some locking to be improved in the backends.
This will be fixed in the near future.
We also need to add _SC_GETPW_R_SIZE_MAX to sysconf(3).

Fix the compat `+' prototype override so getpwnam(3) and getpwuid(3) DTRT.

Improve the description of pw_class and pw_gecos.
2004-10-05 04:45:54 +00:00
agc
eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
b214676aec New sentence, new line. From Robert Elz. 2002-10-01 16:48:34 +00:00
simonb
eb0846961e Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs. 2002-04-29 01:41:43 +00:00
ross
814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz
09a03cd887 Standardize section headers, sort sections, sort SEE ALSO, punctuation
and misc. fixes.
2001-09-16 02:57:03 +00:00
wiz
a0dbe70b74 Boring whitespace fixes. 2001-09-16 02:30:23 +00:00
ad
682d5ce7b8 Xr passwd.conf 2000-07-11 12:12:53 +00:00
lukem
83e7ae6c5d * highlight that getpwent() doesn't suppress duplicate info from multiple
nsswitch.conf sources
* consistently refer to `functions', rather than occasionally referring
  to them as `routines'.
1999-04-25 13:45:02 +00:00
lukem
d3f8abaacb reference nsswitch.conf(5) 1999-01-16 07:59:39 +00:00
fair
095ab11cb7 Fix mdoc .Xr reference for syntax or correctness (e.g. exec(2) versus exec(3)).
Make other mdoc corrections as inspection dictated.
1998-04-28 20:11:33 +00:00
perry
312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
kleink
c213a3af8b Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION
to 199009L, bump existing statements to 1003.1-1990.
1997-07-14 23:19:39 +00:00
mikel
e6f7684f2a xref getlogin(2) not getlogin(3) 1997-07-14 02:07:10 +00:00
mouse
ff44468136 alternate -> alternative, per PR 2643 1997-03-08 13:36:38 +00:00
cjs
93eb52853b PR 3279, from <david@mono.org>.
Bugs section changed to clarify that static passwd structure
used for return value is shared among all functions.
1997-03-03 19:43:45 +00:00
cgd
b585e843ca update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +00:00
jtc
f34d1ed7d1 Password databases live in /etc, not /var/db. (PR #685) 1995-01-03 15:57:32 +00:00
jtc
584ac8448e Fix spelling errors. 1994-01-10 23:32:20 +00:00
jtc
71afdb430b Update source and manual pages to match X/Open 1170 specification.
Updated setpassent() to understand YP (a bug), and changed setpwent()
to simply be a call to setpassent(0) (to remove duplicated code).
1993-10-25 23:36:51 +00:00
jtc
92ba83edfc X/Open 1170 defines the return type of setpwent() to be void -- a trival
change since our setpwent() allways succeeded.
1993-10-25 22:21:36 +00:00
mycroft
0e9c8e4524 Add RCS identifiers. 1993-07-30 08:34:38 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00