Date: Wed, 23 Apr 2008 20:17:26 -0500 (CDT) From: "Sean C. Farley" <scf@FreeBSD.org> To: freebsd-arch@FreeBSD.org Subject: API type/include corrections Message-ID: <alpine.BSF.1.10.0804232000490.29423@thor.farley.org>
next in thread | raw e-mail | index | archive | help
I am going through a list where I track items I wish to fix as I run
across them. I just like to make sure they are actually broken before
fixing them. :)
The items in question:
1. Should the man page for mkdir(2) include sys/types.h? Open Group
docs[1] do not have it, yet they do use it in the example. It is not
needed to compile their example.
2. Should readpassphrase(3) include sys/types.h in the man page, or
should it be added to readpassphrase.h? It is needed to compile even
a simple program to pick up size_t.
3. Should chflags(2), lchflags(2) and fchflags(2) have the flags
argument be of type fflags_t (uint32_t) instead of u_long? The man
page says u_long while the type for st_flags in struct stat is
fflags_t.
Sean
1. http://www.opengroup.org/onlinepubs/000095399/functions/mkdir.html
--
scf@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.1.10.0804232000490.29423>
