diff options
| author | ad <ad@NetBSD.org> | 2008-06-25 11:10:24 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2008-06-25 11:10:24 +0000 |
| commit | 5f64faa3a91c551e42e464c3f9d1c0cf8ebd690f (patch) | |
| tree | 3c7e2e4c424532e2a1363db4daa2690d6c869f10 /include | |
| parent | d29b52efe8625150feb6300703349f98a3511230 (diff) | |
Add getlogin_r. Manual page changes mostly lifted from FreeBSD.
Diffstat (limited to 'include')
| -rw-r--r-- | include/unistd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h index a3be9b8bc2b..70e9ed8d603 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1,7 +1,7 @@ -/* $NetBSD: unistd.h,v 1.116 2008/04/28 20:22:54 martin Exp $ */ +/* $NetBSD: unistd.h,v 1.117 2008/06/25 11:10:25 ad Exp $ */ /*- - * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. + * Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation @@ -113,6 +113,7 @@ uid_t geteuid(void); gid_t getgid(void); int getgroups(int, gid_t []); __aconst char *getlogin(void); +int getlogin_r(char *, int); pid_t getpgrp(void); pid_t getpid(void); pid_t getppid(void); |
