acct() wrongly has __nonnull((1)) in glibc 2.3.5

Michael T Kerrisk mtk-lists@gmx.net
Wed Apr 27 08:56:00 GMT 2005


In posix/unistd.h, the declaration of acct() has 

    __THROW __nonnull ((1))

However, a NULL argument to acct() is the means of
disabling process accounting.  Therefore this declaration
appears to be incorrect and should be removed.

Cheers,

Michael

-- 
Michael Kerrisk
mtk-lists@gmx.net

+++ Sparen beginnt mit GMX DSL: http://www.gmx.net/de/go/dsl



More information about the Libc-alpha mailing list