summaryrefslogtreecommitdiff
path: root/static/v10/man5/types.5
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/v10/man5/types.5
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/v10/man5/types.5')
-rw-r--r--static/v10/man5/types.542
1 files changed, 0 insertions, 42 deletions
diff --git a/static/v10/man5/types.5 b/static/v10/man5/types.5
deleted file mode 100644
index b6a5d02a..00000000
--- a/static/v10/man5/types.5
+++ /dev/null
@@ -1,42 +0,0 @@
-.TH TYPES 5
-.CT 2 sa data_man
-.SH NAME
-types \- primitive system data types
-.SH SYNOPSIS
-.B #include <sys/types.h>
-.SH DESCRIPTION
-The data types defined in the include file
-are used in the operating system.
-Some data of these types are useful in user code.
-.PP
-.EX
-.ta \w'typedef 'u +\w'unsigned short 'u +\w'label_t[14]; 'u
-typedef long daddr_t; \fRdisk block number, see \fIfilsys\fR(5)\f5
-typedef char * caddr_t; \fRgeneral memory pointer\f5
-typedef unsigned short ino_t; \fRinode number, \fIfilsys\fR(5)\f5
-typedef long size_t; \fRfile size, \fIstat\fR(2)\f5
-typedef long time_t; \fRtime, \fItime\fR(2)\f5
-typedef unsigned short dev_t; \fRdevice code, \fIstat\fR(2)\f5
-typedef long off_t; \fRfile offset, \fIlseek\fR(2)\f5
-.EE
-.PP
-The following macros analyze and synthesize device numbers;
-see
-.IR intro (4).
-.PP
-.EX
-#define major(x) ((int)(((unsigned)(x)>>8)&0377))
-#define minor(x) ((int)((x)&0377))
-#define makedev(x,y) ((dev_t)(((x)<<8) | (y)))
-.EE
-.PP
-The file contains other definitions as well,
-internal to the system
-or specific to particular system calls.
-Pages in section 2
-tell which calls need
-.BR <sys/types.h> .
-.SH SEE ALSO
-.IR filsys (5),
-.IR time (2),
-.IR intro (4)