summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/pw_dup.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* I am retiring my old email address; replace it with my OpenBSD one.millert2019-01-251-2/+2
|
* Wrap <pwd.h> so that calls go direct and the symbols are all weak.guenther2015-09-131-1/+2
| | | | Hide bcrypt_autorounds(), prefixing with an underbar for static builds.
* zap remaining rcsid.espie2005-08-081-5/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* use PW_SIZE and PW_COPY macros for simplified reading.pat2005-02-271-56/+33
| | | | ok otto millert
* Sync with share/misc/license.template and add missing DARPA creditmillert2003-06-171-9/+13
| | | | where applicable.
* Use an ISC-tyle license for all my code; it is simpler and more permissive.millert2003-06-031-24/+13
|
* minor KNFmillert2003-02-171-4/+4
|
* Stash string lengths in variables instead of computing multiple times.millert2002-04-291-42/+47
| | | | Based on a patch from Lars J. Buitinck
* Add pw_dup(3), a function to copy 'struct passwd'. It is allocated asmillert2000-11-211-0/+111
a single chunk with the strings pointing elsewhere in the buffer so a simple free() of the struct passwd * is all that is needed to decallocate.