Date: Mon, 5 Mar 2001 01:06:51 -0800 (PST) From: "David E. O'Brien" <obrien@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/include unistd.h src/lib/libc/gen getlogin.c src/lib/libc/sys getlogin.2 Message-ID: <200103050906.f2596pC62626@freefall.freebsd.org>
index | next in thread | raw e-mail
obrien 2001/03/05 01:06:51 PST
Modified files: (Branch: RELENG_4)
include unistd.h
lib/libc/gen getlogin.c
lib/libc/sys getlogin.2
Log:
MFC: getlogin rev 1.5
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.
Revision Changes Path
1.35.2.5 +2 -2 src/include/unistd.h
1.4.2.1 +50 -17 src/lib/libc/gen/getlogin.c
1.14.2.2 +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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103050906.f2596pC62626>
