[LTP] [PATCH 2/4] syscalls/socket02: reconstruct and convert to new API

Cyril Hrubis chrubis@suse.cz
Tue Jul 26 13:40:34 CEST 2016


Hi!
> -/* For Linux these must be the same.  */
>  #ifndef SOCK_CLOEXEC
>  #define SOCK_CLOEXEC O_CLOEXEC
>  #endif
>
> +#ifndef SOCK_NONBLOCK
> +#define SOCK_NONBLOCK O_NONBLOCK
> +#endif

I've moved these definitions to lapi/fcntl.h (so that we have only one
place that defines these) and pushed, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list