aboutsummaryrefslogtreecommitdiffstats
path: root/man3/inet.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-10-28 10:51:05 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-10-29 14:54:23 -0500
commit9c3305044732c7340f79059eb0abc1bb1f8b649c (patch)
tree79c95045df640e05dcb1249a92b15afd2d2f7198 /man3/inet.3
parentb43a3b301e589a673983336d6196d3eed64ab9b1 (diff)
downloadman-pages-9c3305044732c7340f79059eb0abc1bb1f8b649c.tar.gz
eventfd.2, getdents.2, mprotect.2, signalfd.2, timerfd_create.2, wait.2, backtrace.3, clock_getcpuclockid.3, end.3, fmemopen.3, fopencookie.3, getdate.3, getgrouplist.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, inet.3, inet_pton.3, makecontext.3, matherr.3, offsetof.3, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, sem_wait.3, strtol.3, core.5: global fix: Add ".SS Program source" to EXAMPLE
Add ".SS Program source" to clearly distinguish shell session and descriptive text from actual program code. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/inet.3')
-rw-r--r--man3/inet.33
1 files changed, 2 insertions, 1 deletions
diff --git a/man3/inet.3 b/man3/inet.3
index 1ff3f1dca5..227e18205c 100644
--- a/man3/inet.3
+++ b/man3/inet.3
@@ -265,9 +265,10 @@ Here are some example runs:
226.0.0.31
.RB "$" " ./a.out 0x7f.1 " " # First byte is in hex"
127.0.0.1
-
.fi
.in
+.SS Program source
+.R " "
.nf
#define _BSD_SOURCE
#include <arpa/inet.h>