1SYSTEM_DATA_TYPES(7) Linux Programmer's Manual SYSTEM_DATA_TYPES(7)
2
3
4
6 system_data_types - overview of system data types
7
9 aiocb
10 Include: <aio.h>.
11
12 struct aiocb {
13 int aio_fildes; /* File descriptor */
14 off_t aio_offset; /* File offset */
15 volatile void *aio_buf; /* Location of buffer */
16 size_t aio_nbytes; /* Length of transfer */
17 int aio_reqprio; /* Request priority offset */
18 struct sigevent aio_sigevent; /* Signal number and value */
19 int aio_lio_opcode;/* Operation to be performed */
20 };
21
22 For further information about this structure, see aio(7).
23
24 Conforming to: POSIX.1-2001 and later.
25
26 See also: aio_cancel(3), aio_error(3), aio_fsync(3),
27 aio_read(3), aio_return(3), aio_suspend(3), aio_write(3),
28 lio_listio(3)
29
30 blkcnt_t
31 Include: <sys/types.h>. Alternatively, <sys/stat.h>.
32
33 Used for file block counts. According to POSIX, it shall be a
34 signed integer type.
35
36 Conforming to: POSIX.1-2001 and later.
37
38 See also: stat(2)
39
40 blksize_t
41 Include: <sys/types.h>. Alternatively, <sys/stat.h>.
42
43 Used for file block sizes. According to POSIX, it shall be a
44 signed integer type.
45
46 Conforming to: POSIX.1-2001 and later.
47
48 See also: stat(2)
49
50 cc_t
51 Include: <termios.h>.
52
53 Used for terminal special characters. According to POSIX, it
54 shall be an unsigned integer type.
55
56 Conforming to: POSIX.1-2001 and later.
57
58 See also: termios(3)
59
60 clock_t
61 Include: <time.h> or <sys/types.h>. Alternatively,
62 <sys/time.h>.
63
64 Used for system time in clock ticks or CLOCKS_PER_SEC (defined
65 in <time.h>). According to POSIX, it shall be an integer type
66 or a real-floating type.
67
68 Conforming to: C99 and later; POSIX.1-2001 and later.
69
70 See also: times(2), clock(3)
71
72 clockid_t
73 Include: <sys/types.h>. Alternatively, <time.h>.
74
75 Used for clock ID type in the clock and timer functions. Ac‐
76 cording to POSIX, it shall be defined as an arithmetic type.
77
78 Conforming to: POSIX.1-2001 and later.
79
80 See also: clock_adjtime(2), clock_getres(2), clock_nanosleep(2),
81 timer_create(2), clock_getcpuclockid(3)
82
83 dev_t
84 Include: <sys/types.h>. Alternatively, <sys/stat.h>.
85
86 Used for device IDs. According to POSIX, it shall be an integer
87 type. For further details of this type, see makedev(3).
88
89 Conforming to: POSIX.1-2001 and later.
90
91 See also: mknod(2), stat(2)
92
93 div_t
94 Include: <stdlib.h>.
95
96 typedef struct {
97 int quot; /* Quotient */
98 int rem; /* Remainder */
99 } div_t;
100
10