musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--include/sys/socket.h 6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index 20eeee3b..9e0b9a37 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -33,7 +33,7 @@ struct linger
};
#define SHUT_RD 0
-#define SHUT_WD 1
+#define SHUT_WR 1
#define SHUT_RDWR 2
#ifndef SOCK_STREAM
@@ -290,10 +290,6 @@ int setsockopt (int, int, int, const void *, socklen_t);
int sockatmark (int);
-#define SHUT_RD 0
-#define SHUT_WR 1
-#define SHUT_RDWR 2
-
#ifdef __cplusplus
}
#endif
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月03日 10:55:37 +0000

AltStyle によって変換されたページ (->オリジナル) /