X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fnonblocking.c;fp=lib%2Fnonblocking.c;h=744dd5a4dc3949bc2fcab8a58e90d87cc38ca088;hb=1b612639b0d75ca13f87f3ae5b1eda423cb21655;hp=59bd55fd1ec55e3298e56688ea17bf6b50c5c55f;hpb=39065e3b61f9c359b6c01739be9bccea9643ea7c;p=gnulib.git diff --git a/lib/nonblocking.c b/lib/nonblocking.c index 59bd55fd1..744dd5a4d 100644 --- a/lib/nonblocking.c +++ b/lib/nonblocking.c @@ -22,13 +22,13 @@ #include #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -/* Native Woe32 API. */ +/* Native Windows API. */ # include # include # include -/* Get declarations of the Win32 API functions. */ +/* Get declarations of the native Windows API functions. */ # define WIN32_LEAN_AND_MEAN # include @@ -56,7 +56,8 @@ get_nonblocking_flag (int desc) return -1; } else - /* Win32 does not support non-blocking on regular files. */ + /* The native Windows API does not support non-blocking on regular + files. */ return 0; } @@ -102,7 +103,8 @@ set_nonblocking_flag (int desc, bool value) } else { - /* Win32 does not support non-blocking on regular files. */ + /* The native Windows API does not support non-blocking on regular + files. */ if (!value) return 0; errno = ENOTSUP;