Date: Wed, 14 May 2008 22:56:54 GMT From: "Pedro F. Giffuni" <giffunip@tutopia.com> To: freebsd-gnats-submit@FreeBSD.org Subject: standards/123688: POSIX standard changes in unistd.h and grp.h Message-ID: <200805142256.m4EMusA9030237@www.freebsd.org> Resent-Message-ID: <200805142300.m4EN0BeJ069927@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 123688 >Category: standards >Synopsis: POSIX standard changes in unistd.h and grp.h >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-standards >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed May 14 23:00:11 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 6.3-Release (amd64) >Organization: >Environment: not-relevant >Description: Bruno Haible did a port of glibc to FreeBSD; in the process he found important differences between glibc and FreeBSD's libc. I looked at some of them to see how they related to POSIX documentation and I found arguments for adopting this changes: Note about <unistd.h> - getgrouplist() declaration is moved to <grp.h>. - initgroups() declaration is moved to <grp.h>. - setgroups() declaration is moved to <grp.h>. - mknod() declaration is moved to <sys/stat.h> Note about <grp.h>: - setgrent() return type changes from int to void. Of course the documentation for those 5 functions would also have to change >How-To-Repeat: The complete changes are mentioned here: http://sourceware.org/ml/libc-alpha/2002-10/msg00326.html but of course things have changed between 2002 and now and some changes, like moving valloc(),in there would break BSD tradition. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805142256.m4EMusA9030237>