Commit Graph

31 Commits

Author SHA1 Message Date
wiz 83e8266979 Sort sections and errors. 2011-04-28 16:34:01 +00:00
joerg 1c3412fa2f Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
christos 5614cf4051 Mention errno settings on failure. 2008-04-30 14:51:10 +00:00
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 2662d7cbb4 Clarify getgr*_r() return value when entry isn't found.
Improve markup of various constants.
2005-04-19 04:38:04 +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
lukem a18b46b6e9 Correct order of description of getgr{nam,gid}{,_r}() functions. 2004-10-05 03:03:24 +00:00
lukem c54f283e46 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 getgrent(3).
Per my proposal on tech-userlevel.

Implement getgrgid_r() and getgrnam_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), getgrent(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_GETGR_R_SIZE_MAX to sysconf(3).
2004-10-04 04:11:33 +00:00
jmmv eb6866861c s/password databases/group databases/ 2004-09-02 11:43:18 +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 a0dbe70b74 Boring whitespace fixes. 2001-09-16 02:30:23 +00:00
lukem d438433458 * highlight that getgrent() 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:47:37 +00:00
lukem d3f8abaacb reference nsswitch.conf(5) 1999-01-16 07:59:39 +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
mouse ff44468136 alternate -> alternative, per PR 2643 1997-03-08 13:36:38 +00:00
cgd b585e843ca update from Lite, with local changes. fix Ids, etc. 1995-02-27 04:12:15 +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 981beb6413 Use .Xr for SEE ALSO cross references. 1993-10-15 00:05:44 +00:00
jtc cc91603650 Changed SYNOPSIS, included <sys/types.h> before <grp.h> as it is needed
to define gid_t for getgrgid().
1993-10-04 18:39:24 +00:00
mycroft 0e9c8e4524 Add RCS identifiers. 1993-07-30 08:34:38 +00:00
sef caf88a2f34 Bloody stupid misspelled name caused me grief, so I'm changing it
wherever I can.  (Function is getgrnam, documentation says getgrnam*e*!)
1993-04-14 21:31:58 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00