From 5f64faa3a91c551e42e464c3f9d1c0cf8ebd690f Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 25 Jun 2008 11:10:24 +0000 Subject: Add getlogin_r. Manual page changes mostly lifted from FreeBSD. --- include/unistd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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); -- cgit