diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-24 04:52:22 +0000 |
commit | 7f3caba522f4d24764f29d83aa2de9198bb7f01c (patch) | |
tree | 66b798ea74302325d6a5c11df044cbe4bb845af1 /man/man7/unix.7 | |
parent | Adding upstream version 6.7. (diff) | |
download | manpages-upstream.tar.xz manpages-upstream.zip |
Adding upstream version 6.8.upstream/6.8upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | man/man7/unix.7 (renamed from man7/unix.7) | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/man7/unix.7 b/man/man7/unix.7 index 426a430..eacc0a3 100644 --- a/man7/unix.7 +++ b/man/man7/unix.7 @@ -12,7 +12,7 @@ .\" address that can appear in the sockaddr_un structure: pathname, .\" unnamed, and abstract. .\" -.TH UNIX 7 2024-03-16 "Linux man-pages 6.7" +.TH UNIX 7 2024-05-02 "Linux man-pages (unreleased)" .SH NAME unix \- sockets for local interprocess communication .SH SYNOPSIS @@ -960,9 +960,13 @@ $ /* * File connection.h */ +#ifndef CONNECTION_H +#define CONNECTION_H \& #define SOCKET_NAME "/tmp/9Lq7BNBnBycd6nxy.socket" #define BUFFER_SIZE 12 +\& +#endif // include guard .EE .\" SRC END .P @@ -976,6 +980,7 @@ $ #include <stdlib.h> #include <string.h> #include <sys/socket.h> +#include <sys/types.h> #include <sys/un.h> #include <unistd.h> \& @@ -1121,6 +1126,7 @@ main(void) #include <stdlib.h> #include <string.h> #include <sys/socket.h> +#include <sys/types.h> #include <sys/un.h> #include <unistd.h> \& |