From c66e7780ad17eb9af82dc61f4e3b44b7f0c890b2 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Fri, 24 Aug 2012 17:54:44 +0100 Subject: [PATCH] Manual pages: renmae man->man3 to follow existing conventions. Add files _Exit.3, quick_exit.3, at_quick_exit.3, strndup.3 aliasing the file which documents said function, using .so inclusion directive. (While symlinks would be ideal, they are not sufficiently portable) --- Jamfile | 2 +- man3/_Exit.3 | 1 + {man => man3}/abort.3 | 0 {man => man3}/assert.3 | 0 {man => man3}/assert.h.3 | 0 man3/at_quick_exit.3 | 1 + {man => man3}/atexit.3 | 0 {man => man3}/errno.3 | 0 {man => man3}/errno.h.3 | 0 {man => man3}/exit.3 | 0 {man => man3}/pdclib.3 | 0 man3/quick_exit.3 | 1 + {man => man3}/strdup.3 | 0 {man => man3}/string.h.3 | 0 man3/strndup.3 | 1 + 15 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 man3/_Exit.3 rename {man => man3}/abort.3 (100%) rename {man => man3}/assert.3 (100%) rename {man => man3}/assert.h.3 (100%) create mode 100644 man3/at_quick_exit.3 rename {man => man3}/atexit.3 (100%) rename {man => man3}/errno.3 (100%) rename {man => man3}/errno.h.3 (100%) rename {man => man3}/exit.3 (100%) rename {man => man3}/pdclib.3 (100%) create mode 100644 man3/quick_exit.3 rename {man => man3}/strdup.3 (100%) rename {man => man3}/string.h.3 (100%) create mode 100644 man3/strndup.3 diff --git a/Jamfile b/Jamfile index 50e09f8..92c10c2 100644 --- a/Jamfile +++ b/Jamfile @@ -59,7 +59,7 @@ actions HtmlMan { mandoc -Thtml -Oincludes=../3/%I.html -Oman=../%S/%N.html -Ostyle=../style.css $(>) >$(<) } -for manpg in [ GLOB man : *.3 ] { +for manpg in [ GLOB man3 : *.3 ] { local section = [ SPLIT $(manpg:S) : . ] ; HtmlMan [ FDirName html $(section) $(manpg:B).html ] : $(manpg) ; } \ No newline at end of file diff --git a/man3/_Exit.3 b/man3/_Exit.3 new file mode 100644 index 0000000..fb49c66 --- /dev/null +++ b/man3/_Exit.3 @@ -0,0 +1 @@ +.so man3/exit.3 \ No newline at end of file diff --git a/man/abort.3 b/man3/abort.3 similarity index 100% rename from man/abort.3 rename to man3/abort.3 diff --git a/man/assert.3 b/man3/assert.3 similarity index 100% rename from man/assert.3 rename to man3/assert.3 diff --git a/man/assert.h.3 b/man3/assert.h.3 similarity index 100% rename from man/assert.h.3 rename to man3/assert.h.3 diff --git a/man3/at_quick_exit.3 b/man3/at_quick_exit.3 new file mode 100644 index 0000000..e4331e4 --- /dev/null +++ b/man3/at_quick_exit.3 @@ -0,0 +1 @@ +.so man3/atexit.3 \ No newline at end of file diff --git a/man/atexit.3 b/man3/atexit.3 similarity index 100% rename from man/atexit.3 rename to man3/atexit.3 diff --git a/man/errno.3 b/man3/errno.3 similarity index 100% rename from man/errno.3 rename to man3/errno.3 diff --git a/man/errno.h.3 b/man3/errno.h.3 similarity index 100% rename from man/errno.h.3 rename to man3/errno.h.3 diff --git a/man/exit.3 b/man3/exit.3 similarity index 100% rename from man/exit.3 rename to man3/exit.3 diff --git a/man/pdclib.3 b/man3/pdclib.3 similarity index 100% rename from man/pdclib.3 rename to man3/pdclib.3 diff --git a/man3/quick_exit.3 b/man3/quick_exit.3 new file mode 100644 index 0000000..fb49c66 --- /dev/null +++ b/man3/quick_exit.3 @@ -0,0 +1 @@ +.so man3/exit.3 \ No newline at end of file diff --git a/man/strdup.3 b/man3/strdup.3 similarity index 100% rename from man/strdup.3 rename to man3/strdup.3 diff --git a/man/string.h.3 b/man3/string.h.3 similarity index 100% rename from man/string.h.3 rename to man3/string.h.3 diff --git a/man3/strndup.3 b/man3/strndup.3 new file mode 100644 index 0000000..7095026 --- /dev/null +++ b/man3/strndup.3 @@ -0,0 +1 @@ +.so man3/strdup.3 \ No newline at end of file -- 2.40.0