[RFC 14/37] clockid_t.3, system_data_types.7: Move text to a separate page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
 man3/clockid_t.3         | 25 ++++++++++++++++++++++++-
 man7/system_data_types.7 | 22 ----------------------
 2 files changed, 24 insertions(+), 23 deletions(-)

diff --git a/man3/clockid_t.3 b/man3/clockid_t.3
index db50c0f09..5d56fc0ac 100644
--- a/man3/clockid_t.3
+++ b/man3/clockid_t.3
@@ -1 +1,24 @@
-.so man7/system_data_types.7
+.TH CLOCKID_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+clockid_t \- clock ID for the clock and timer functions
+.SH SYNOPSIS
+.nf
+.B #include <sys/types.h>
+.PP
+.BR typedef " /* ... */ " clockid_t;
+.fi
+.SH DESCRIPTION
+Used for clock ID type in the clock and timer functions.
+According to POSIX,
+it shall be defined as an arithmetic type.
+.SH CONFORMING TO
+POSIX.1-2001 and later.
+.SH NOTES
+The following header also provides this type:
+.IR <time.h> .
+.SH SEE ALSO
+.BR clock_adjtime (2),
+.BR clock_getres (2),
+.BR clock_nanosleep (2),
+.BR timer_create (2),
+.BR clock_getcpuclockid (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index e320c44ca..f41ebc73f 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -56,28 +56,6 @@ system_data_types \- overview of system data types
 .\"------------------------------------- cc_t -------------------------/
 .\"------------------------------------- clock_t ----------------------/
 .\"------------------------------------- clockid_t --------------------/
-.TP
-.I clockid_t
-.RS
-.IR Include :
-.IR <sys/types.h> .
-Alternatively,
-.IR <time.h> .
-.PP
-Used for clock ID type in the clock and timer functions.
-According to POSIX,
-it shall be defined as an arithmetic type.
-.PP
-.IR "Conforming to" :
-POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-.BR clock_adjtime (2),
-.BR clock_getres (2),
-.BR clock_nanosleep (2),
-.BR timer_create (2),
-.BR clock_getcpuclockid (3)
-.RE
 .\"------------------------------------- dev_t ------------------------/
 .TP
 .I dev_t
-- 
2.33.1




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux