Date: Mon, 1 Jan 2001 05:29:19 -0800 (PST) From: Daniel Eischen <deischen@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getlogin.c src/lib/libc/sys getlogin.2 Message-ID: <200101011329.f01DTJT00789@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
deischen 2001/01/01 05:29:19 PST Modified files: lib/libc/gen getlogin.c lib/libc/sys getlogin.2 Log: Change the interface of getlogin_r to return an int. The former interface was based on a draft version of POSIX whereas the final (1996) version of POSIX specified that the error is returned. While I'm here, fix getlogin_r so that it works for more than just the first time it's called. Reviewed by: wes, wollman (man page) Revision Changes Path 1.5 +51 -18 src/lib/libc/gen/getlogin.c 1.16 +19 -6 src/lib/libc/sys/getlogin.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101011329.f01DTJT00789>