include: posix: sys/socket.h: Export MSG_* constants.

As expected to be provided by this header by POSIX applications.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
This commit is contained in:
Paul Sokolovsky 2019-08-21 15:30:51 +03:00 committed by Ioannis Glaropoulos
parent 0049c52651
commit 95192d41fb

View file

@ -22,6 +22,9 @@ static inline int socket(int family, int type, int proto)
#define SHUT_WR ZSOCK_SHUT_WR
#define SHUT_RDWR ZSOCK_SHUT_RDWR
#define MSG_PEEK ZSOCK_MSG_PEEK
#define MSG_DONTWAIT ZSOCK_MSG_DONTWAIT
static inline int shutdown(int sock, int how)
{
return zsock_shutdown(sock, how);