diff options
author | Alejandro Colomar <alx@kernel.org> | 2024-03-06 12:20:46 +0100 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2024-03-12 18:23:29 +0100 |
commit | 35200b55c799497f1861eed8bdb730da14f19cb2 (patch) | |
tree | 73d365889b2f793d981fbb1267cfd8876c948914 | |
parent | ecae18eb35d624ba3133879dafe4355b452dc49a (diff) | |
download | man-pages-35200b55c799497f1861eed8bdb730da14f19cb2.tar.gz |
unix.7: Build example programs
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man7/unix.7 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/man7/unix.7 b/man7/unix.7 index cb1dcae45a..1c4d99678e 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -955,6 +955,7 @@ $ .in .SS Program source \& +.\" SRC BEGIN (connection.h) .EX /* * File connection.h @@ -962,7 +963,11 @@ $ \& #define SOCKET_NAME "/tmp/9Lq7BNBnBycd6nxy.socket" #define BUFFER_SIZE 12 -\& +.EE +.\" SRC END +.P +.\" SRC BEGIN (server.c) +.EX /* * File server.c */ @@ -1097,7 +1102,11 @@ main(int argc, char *argv[]) \& exit(EXIT_SUCCESS); } -\& +.EE +.\" SRC END +.P +.\" SRC BEGIN (client.c) +.EX /* * File client.c */ @@ -1187,6 +1196,7 @@ main(int argc, char *argv[]) exit(EXIT_SUCCESS); } .EE +.\" SRC END .P For examples of the use of .BR SCM_RIGHTS , |