diff options
author | Bruno Haible <bruno@clisp.org> | 2011-04-30 14:05:52 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-04-30 14:05:52 +0200 |
commit | 89d109384c64e703e2507b6ada5efc68bf651393 (patch) | |
tree | 0089e0817631c69ecc5562db42a4342603fdbeb1 /lib | |
parent | 241bef9820b13a430987f9be926c7dc056aa7f38 (diff) | |
download | gnulib-89d109384c64e703e2507b6ada5efc68bf651393.tar.gz |
passfd: Add comments.
* lib/passfd.c: Add comments about platforms.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/passfd.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/passfd.c b/lib/passfd.c index 86c73760b5..945882045e 100644 --- a/lib/passfd.c +++ b/lib/passfd.c @@ -30,6 +30,12 @@ #include "cloexec.h" +/* The code that uses CMSG_FIRSTHDR is enabled on + Linux, MacOS X, FreeBSD, OpenBSD, NetBSD, AIX, OSF/1, Cygwin. + The code that uses HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS is enabled on + HP-UX, IRIX, Solaris. */ + +/* MSG_CMSG_CLOEXEC is defined only on Linux, as of 2011. */ #ifndef MSG_CMSG_CLOEXEC # define MSG_CMSG_CLOEXEC 0 #endif |