doc: Adjust .TH headers in man pages - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit ea44b9cbca6ddf403ef42555b57b0d39b4a7d9e5
DIR parent 8dc6c1bc1617e4e4405bd6d2897321f59ac379e3
HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Wed, 18 Mar 2026 16:03:44 +0100
doc: Adjust .TH headers in man pages
Use a common format.
Diffstat:
M doc/man1/scc-addr2line.1 | 2 +-
M doc/man1/scc-cc.1 | 2 +-
M doc/man1/scc-nm.1 | 2 +-
M doc/man1/scc-objdump.1 | 2 +-
M doc/man1/scc-ranlib.1 | 2 +-
M doc/man1/scc-size.1 | 2 +-
M doc/man1/scc-strip.1 | 2 +-
M doc/man3/clock.3 | 2 +-
M doc/man3/ctime.3 | 2 +-
M doc/man3/difftime.3 | 2 +-
M doc/man3/locale.h.3 | 2 +-
M doc/man3/localeconv.3 | 2 +-
M doc/man3/mbtowc.3 | 2 +-
M doc/man3/memchr.3 | 2 +-
M doc/man3/memcmp.3 | 2 +-
M doc/man3/memcpy.3 | 2 +-
M doc/man3/memmove.3 | 2 +-
M doc/man3/memset.3 | 2 +-
M doc/man3/setjmp.3 | 2 +-
M doc/man3/setjmp.h.3 | 2 +-
M doc/man3/setlocale.3 | 2 +-
M doc/man3/strcat.3 | 2 +-
M doc/man3/strchr.3 | 2 +-
M doc/man3/strcmp.3 | 2 +-
M doc/man3/strcoll.3 | 2 +-
M doc/man3/strcpy.3 | 2 +-
M doc/man3/strcspn.3 | 2 +-
M doc/man3/strerror.3 | 2 +-
M doc/man3/strftime.3 | 2 +-
M doc/man3/string.h.3 | 2 +-
M doc/man3/strlen.3 | 2 +-
M doc/man3/strncat.3 | 2 +-
M doc/man3/strncmp.3 | 2 +-
M doc/man3/strncpy.3 | 2 +-
M doc/man3/strpbrk.3 | 2 +-
M doc/man3/strrchr.3 | 2 +-
M doc/man3/strspn.3 | 2 +-
M doc/man3/strstr.3 | 2 +-
M doc/man3/strtok.3 | 2 +-
M doc/man3/strxfrm.3 | 2 +-
M doc/man3/time.3 | 2 +-
M doc/man3/time.h.3 | 2 +-
M doc/man3/wchar.h.3 | 2 +-
43 files changed, 43 insertions(+), 43 deletions(-)
---
DIR diff --git a/doc/man1/scc-addr2line.1 b/doc/man1/scc-addr2line.1
@@ -1,4 +1,4 @@
-.TH ADDR2LINE 1 scc\-VERSION
+.TH SCC-ADDR2LINE 1 scc\-VERSION
.SH NAME
scc-addr2line \- translate addresses into file names and line numbers
.SH SYNOPSIS
DIR diff --git a/doc/man1/scc-cc.1 b/doc/man1/scc-cc.1
@@ -1,4 +1,4 @@
-.TH SCC 1 scc\-VERSION
+.TH SCC-CC 1 scc\-VERSION
.SH NAME
scc-cc \- simple C compiler with magic
.SH SYNOPSIS
DIR diff --git a/doc/man1/scc-nm.1 b/doc/man1/scc-nm.1
@@ -1,4 +1,4 @@
-.TH NM 1 scc\-VERSION
+.TH SCC-NM 1 scc\-VERSION
.SH NAME
scc-nm \- list symbol table of object files
.SH SYNOPSIS
DIR diff --git a/doc/man1/scc-objdump.1 b/doc/man1/scc-objdump.1
@@ -1,4 +1,4 @@
-.TH OBJDUMP 1 scc\-VERSION
+.TH SCC-OBJDUMP 1 scc\-VERSION
.SH NAME
scc-objdump \- display information from object files
.SH SYNOPSIS
DIR diff --git a/doc/man1/scc-ranlib.1 b/doc/man1/scc-ranlib.1
@@ -1,4 +1,4 @@
-.TH RANLIB 1 scc\-VERSION
+.TH SCC-RANLIB 1 scc\-VERSION
.SH NAME
scc-ranlib \- generate index to archive
.SH SYNOPSIS
DIR diff --git a/doc/man1/scc-size.1 b/doc/man1/scc-size.1
@@ -1,4 +1,4 @@
-.TH SIZE 1 scc\-VERSION
+.TH SCC-SIZE 1 scc\-VERSION
.SH NAME
scc-size \- list section sizes of object files
.SH SYNOPSIS
DIR diff --git a/doc/man1/scc-strip.1 b/doc/man1/scc-strip.1
@@ -1,4 +1,4 @@
-.TH STRIP 1 scc\-VERSION
+.TH SCC-STRIP 1 scc\-VERSION
.SH NAME
strip \- remove symbols and relocation information from object files
.SH SYNOPSIS
DIR diff --git a/doc/man3/clock.3 b/doc/man3/clock.3
@@ -1,4 +1,4 @@
-.TH CLOCK 3
+.TH CLOCK 3 scc\-VERSION
.SH NAME
clock - query processor time used by the program
.SH SYNOPSIS
DIR diff --git a/doc/man3/ctime.3 b/doc/man3/ctime.3
@@ -1,4 +1,4 @@
-.TH CTIME 3
+.TH CTIME 3 scc\-VERSION
.SH NAME
asctime, ctime, gmtime, localtime, mktime - convert between calendar time and broken-down time
.SH SYNOPSIS
DIR diff --git a/doc/man3/difftime.3 b/doc/man3/difftime.3
@@ -1,4 +1,4 @@
-.TH DIFFTIME 3
+.TH DIFFTIME 3 scc\-VERSION
.SH NAME
difftime - compute the difference between two calendar times
.SH SYNOPSIS
DIR diff --git a/doc/man3/locale.h.3 b/doc/man3/locale.h.3
@@ -1,4 +1,4 @@
-.TH locale.h 3
+.TH locale.h 3 scc\-VERSION
.SH NAME
locale.h - localization category macros
.SH SYNOPSIS
DIR diff --git a/doc/man3/localeconv.3 b/doc/man3/localeconv.3
@@ -1,4 +1,4 @@
-.TH localeconv 3
+.TH localeconv 3 scc\-VERSION
.SH NAME
localeconv - retrieve numeric formatting conventions for the current locale
.SH SYNOPSIS
DIR diff --git a/doc/man3/mbtowc.3 b/doc/man3/mbtowc.3
@@ -1,4 +1,4 @@
-.TH MBTOWC 3
+.TH MBTOWC 3 scc\-VERSION
.SH NAME
mbtowc - convert a multibyte sequence to a wide character
.SH SYNOPSIS
DIR diff --git a/doc/man3/memchr.3 b/doc/man3/memchr.3
@@ -1,4 +1,4 @@
-.TH memchr 3
+.TH memchr 3 scc\-VERSION
.SH NAME
memchr - search for a byte in a memory block
.SH SYNOPSIS
DIR diff --git a/doc/man3/memcmp.3 b/doc/man3/memcmp.3
@@ -1,4 +1,4 @@
-.TH MEMCMP 3
+.TH MEMCMP 3 scc\-VERSION
.SH NAME
memcmp - compare two memory blocks byte by byte
.SH SYNOPSIS
DIR diff --git a/doc/man3/memcpy.3 b/doc/man3/memcpy.3
@@ -1,4 +1,4 @@
-.TH memcpy 3
+.TH memcpy 3 scc\-VERSION
.SH NAME
memcpy - copy bytes between non-overlapping memory regions
.SH SYNOPSIS
DIR diff --git a/doc/man3/memmove.3 b/doc/man3/memmove.3
@@ -1,4 +1,4 @@
-.TH memmove 3
+.TH memmove 3 scc\-VERSION
.SH NAME
memmove - copy bytes between memory regions that may overlap
.SH SYNOPSIS
DIR diff --git a/doc/man3/memset.3 b/doc/man3/memset.3
@@ -1,4 +1,4 @@
-.TH memset 3
+.TH memset 3 scc\-VERSION
.SH NAME
memset - fill memory with a constant byte
.SH SYNOPSIS
DIR diff --git a/doc/man3/setjmp.3 b/doc/man3/setjmp.3
@@ -1,4 +1,4 @@
-.TH SETJMP 3
+.TH SETJMP 3 scc\-VERSION
.SH NAME
setjmp - save and restore the calling environment for non-local jumps
.SH SYNOPSIS
DIR diff --git a/doc/man3/setjmp.h.3 b/doc/man3/setjmp.h.3
@@ -1,4 +1,4 @@
-.TH setjmp.h 3
+.TH setjmp.h 3 scc\-VERSION
.SH NAME
setjmp.h - support for non-local jumps
.SH SYNOPSIS
DIR diff --git a/doc/man3/setlocale.3 b/doc/man3/setlocale.3
@@ -1,4 +1,4 @@
-.TH setlocale 3
+.TH setlocale 3 scc\-VERSION
.SH NAME
setlocale - query or modify the program's current locale
.SH SYNOPSIS
DIR diff --git a/doc/man3/strcat.3 b/doc/man3/strcat.3
@@ -1,4 +1,4 @@
-.TH strcat 3
+.TH strcat 3 scc\-VERSION
.SH NAME
strcat - concatenate two strings
.SH SYNOPSIS
DIR diff --git a/doc/man3/strchr.3 b/doc/man3/strchr.3
@@ -1,4 +1,4 @@
-.TH strchr 3
+.TH strchr 3 scc\-VERSION
.SH NAME
strchr - find the first occurrence of a character in a string
.SH SYNOPSIS
DIR diff --git a/doc/man3/strcmp.3 b/doc/man3/strcmp.3
@@ -1,4 +1,4 @@
-.TH strcmp 3
+.TH strcmp 3 scc\-VERSION
.SH NAME
strcmp - compare two strings
.SH SYNOPSIS
DIR diff --git a/doc/man3/strcoll.3 b/doc/man3/strcoll.3
@@ -1,4 +1,4 @@
-.TH strcoll 3
+.TH strcoll 3 scc\-VERSION
.SH NAME
strcoll - compare two strings according to the current locale
.SH SYNOPSIS
DIR diff --git a/doc/man3/strcpy.3 b/doc/man3/strcpy.3
@@ -1,4 +1,4 @@
-.TH strcpy 3
+.TH strcpy 3 scc\-VERSION
.SH NAME
strcpy - copy a string
.SH SYNOPSIS
DIR diff --git a/doc/man3/strcspn.3 b/doc/man3/strcspn.3
@@ -1,4 +1,4 @@
-.TH strcspn 3
+.TH strcspn 3 scc\-VERSION
.SH NAME
strcspn - compute the length of the initial segment not containing given characters
.SH SYNOPSIS
DIR diff --git a/doc/man3/strerror.3 b/doc/man3/strerror.3
@@ -1,4 +1,4 @@
-.TH strerror 3
+.TH strerror 3 scc\-VERSION
.SH NAME
strerror - look up an error message string
.SH SYNOPSIS
DIR diff --git a/doc/man3/strftime.3 b/doc/man3/strftime.3
@@ -1,4 +1,4 @@
-.TH STRFTIME 3
+.TH STRFTIME 3 scc\-VERSION
.SH NAME
strftime - format a broken-down time value into a string
.SH SYNOPSIS
DIR diff --git a/doc/man3/string.h.3 b/doc/man3/string.h.3
@@ -1,4 +1,4 @@
-.TH string.h 3
+.TH string.h 3 scc\-VERSION
.SH NAME
string.h - string and memory operation functions
.SH SYNOPSIS
DIR diff --git a/doc/man3/strlen.3 b/doc/man3/strlen.3
@@ -1,4 +1,4 @@
-.TH strlen 3
+.TH strlen 3 scc\-VERSION
.SH NAME
strlen - determine the length of a string
.SH SYNOPSIS
DIR diff --git a/doc/man3/strncat.3 b/doc/man3/strncat.3
@@ -1,4 +1,4 @@
-.TH strncat 3
+.TH strncat 3 scc\-VERSION
.SH NAME
strncat - concatenate a string with a bounded portion of another
.SH SYNOPSIS
DIR diff --git a/doc/man3/strncmp.3 b/doc/man3/strncmp.3
@@ -1,4 +1,4 @@
-.TH strncmp 3
+.TH strncmp 3 scc\-VERSION
.SH NAME
strncmp - compare up to n characters of two strings
.SH SYNOPSIS
DIR diff --git a/doc/man3/strncpy.3 b/doc/man3/strncpy.3
@@ -1,4 +1,4 @@
-.TH strncpy 3
+.TH strncpy 3 scc\-VERSION
.SH NAME
strncpy - copy a string with a length limit
.SH SYNOPSIS
DIR diff --git a/doc/man3/strpbrk.3 b/doc/man3/strpbrk.3
@@ -1,4 +1,4 @@
-.TH strpbrk 3
+.TH strpbrk 3 scc\-VERSION
.SH NAME
strpbrk - find the first occurrence of any character from a set in a string
.SH SYNOPSIS
DIR diff --git a/doc/man3/strrchr.3 b/doc/man3/strrchr.3
@@ -1,4 +1,4 @@
-.TH strrchr 3
+.TH strrchr 3 scc\-VERSION
.SH NAME
strrchr - find the last occurrence of a character in a string
.SH SYNOPSIS
DIR diff --git a/doc/man3/strspn.3 b/doc/man3/strspn.3
@@ -1,4 +1,4 @@
-.TH strspn 3
+.TH strspn 3 scc\-VERSION
.SH NAME
strspn - compute the length of the initial segment containing only given characters
.SH SYNOPSIS
DIR diff --git a/doc/man3/strstr.3 b/doc/man3/strstr.3
@@ -1,4 +1,4 @@
-.TH strstr 3
+.TH strstr 3 scc\-VERSION
.SH NAME
strstr - locate a substring within a string
.SH SYNOPSIS
DIR diff --git a/doc/man3/strtok.3 b/doc/man3/strtok.3
@@ -1,4 +1,4 @@
-.TH strtok 3
+.TH strtok 3 scc\-VERSION
.SH NAME
strtok - break a string into tokens
.SH SYNOPSIS
DIR diff --git a/doc/man3/strxfrm.3 b/doc/man3/strxfrm.3
@@ -1,4 +1,4 @@
-.TH strxfrm 3
+.TH strxfrm 3 scc\-VERSION
.SH NAME
strxfrm - transform a string for locale-aware comparison
.SH SYNOPSIS
DIR diff --git a/doc/man3/time.3 b/doc/man3/time.3
@@ -1,4 +1,4 @@
-.TH TIME 3
+.TH TIME 3 scc\-VERSION
.SH NAME
time - retrieve the current calendar time
.SH SYNOPSIS
DIR diff --git a/doc/man3/time.h.3 b/doc/man3/time.h.3
@@ -1,4 +1,4 @@
-.TH time.h 3
+.TH time.h 3 scc\-VERSION
.SH NAME
time.h - time and date types and functions
.SH SYNOPSIS
DIR diff --git a/doc/man3/wchar.h.3 b/doc/man3/wchar.h.3
@@ -1,4 +1,4 @@
-.TH wchar.h 3
+.TH wchar.h 3 scc\-VERSION
.SH NAME
wchar.h - wide character operations
.SH SYNOPSIS