cvs commit: src/include stdio.h src/lib/libc/sys lseek.2 pathconf.2 src/sys/kern vfs_syscalls.c src/sys/sys filio.h unistd.h

Bruce Evans bde at
Fri Apr 6 01:59:01 UTC 2007

On Thu, 5 Apr 2007, Pawel Jakub Dawidek wrote:

> pjd         2007-04-05 21:10:54 UTC
>  FreeBSD src repository
>  Modified files:
>    include              stdio.h
>    lib/libc/sys         lseek.2 pathconf.2
>    sys/kern             vfs_syscalls.c
>    sys/sys              filio.h unistd.h
>  Log:
>  Implement SEEK_DATA and SEEK_HOLE extensions to lseek(2) as found in
>  OpenSolaris. For more information please refer to:

These are just namespace pollution in stdio.h.  stdio (fseek()) doesn't
support them, and the hack of declaring lseek() in stdio.h should not
be extended to new interfaces.  If stdio ever supports them, then they
would need to be declared under a visibility ifdef (not #ifdef self).


More information about the cvs-src mailing list