*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: types | Section: 5 | Source: UNIX v10 | File: types.5
TYPES(5) File Formats Manual TYPES(5) NAME types - primitive system data types SYNOPSIS #include <sys/types.h> 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. typedef long daddr_t; disk block number, see filsys(5) typedef char * caddr_t; general memory pointer typedef unsigned short ino_t; inode number, filsys(5) typedef long size_t; file size, stat(2) typedef long time_t; time, time(2) typedef unsigned short dev_t; device code, stat(2) typedef long off_t; file offset, lseek(2) The following macros analyze and synthesize device numbers; see in- tro(4). #define major(x) ((int)(((unsigned)(x)>>8)&0377)) #define minor(x) ((int)((x)&0377)) #define makedev(x,y) ((dev_t)(((x)<<8) | (y))) 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 <sys/types.h>. SEE ALSO filsys(5), time(2), intro(4) TYPES(5)

Navigation Options