POSIX fundamental types (<sys/types.h>)
More...
#include <zephyr/kernel.h>
#include <stddef.h>
#include <time.h>
#include <sys/_pthreadtypes.h>
Go to the source code of this file.
|
| #define | __SIZE_TYPE__ unsigned long |
| |
| #define | unsigned signed /* parasoft-suppress MISRAC2012-RULE_20_4-a MISRAC2012-RULE_20_4-b */ |
| | Used for a count of bytes or an error indication.
|
| |
|
| typedef long | blkcnt_t |
| | Used for file block counts.
|
| |
| typedef unsigned long | blksize_t |
| | Used for block sizes.
|
| |
| typedef unsigned long | clock_t |
| | Used for system times in clock ticks or CLOCKS_PER_SEC.
|
| |
| typedef unsigned long | clockid_t |
| | Used for clock ID type in the clock and timer functions.
|
| |
| typedef int | dev_t |
| | Used for device IDs.
|
| |
| typedef unsigned long | fsblkcnt_t |
| | Used for file system block counts.
|
| |
| typedef unsigned long | fsfilcnt_t |
| | Used for file system file counts.
|
| |
| typedef unsigned short | gid_t |
| | Used for group IDs.
|
| |
| typedef long | ino_t |
| | Used for file serial numbers.
|
| |
| typedef unsigned long | key_t |
| | Used for XSI interprocess communication.
|
| |
| typedef int | mode_t |
| | Used for file attributes.
|
| |
| typedef unsigned short | nlink_t |
| | Used for link counts.
|
| |
| typedef long | off_t |
| | Used for file sizes and offsets.
|
| |
| typedef int | pid_t |
| | Used for process IDs and process group IDs.
|
| |
| typedef signed long | ssize_t |
| |
| typedef long | suseconds_t |
| | Used for time in microseconds.
|
| |
| typedef unsigned short | uid_t |
| | Used for user IDs.
|
| |
| typedef unsigned long | useconds_t |
| | Used for time in microseconds (obsolescent).
|
| |
POSIX fundamental types (<sys/types.h>)
- See also
- POSIX.1-2017 <sys/types.h>
Definition in file types.h.
◆ __SIZE_TYPE__
| #define __SIZE_TYPE__ unsigned long |
◆ unsigned
| #define unsigned signed /* parasoft-suppress MISRAC2012-RULE_20_4-a MISRAC2012-RULE_20_4-b */ |
Used for a count of bytes or an error indication.
Definition at line 132 of file types.h.
◆ blkcnt_t
Used for file block counts.
Definition at line 26 of file types.h.
◆ blksize_t
| typedef unsigned long blksize_t |
Used for block sizes.
Definition at line 33 of file types.h.
◆ clock_t
Used for system times in clock ticks or CLOCKS_PER_SEC.
Definition at line 40 of file types.h.
◆ clockid_t
Used for clock ID type in the clock and timer functions.
Definition at line 47 of file types.h.
◆ dev_t
Used for device IDs.
Definition at line 54 of file types.h.
◆ fsblkcnt_t
Used for file system block counts.
Definition at line 61 of file types.h.
◆ fsfilcnt_t
Used for file system file counts.
Definition at line 68 of file types.h.
◆ gid_t
| typedef unsigned short gid_t |
Used for group IDs.
Definition at line 75 of file types.h.
◆ ino_t
Used for file serial numbers.
Definition at line 82 of file types.h.
◆ key_t
| typedef unsigned long key_t |
Used for XSI interprocess communication.
Definition at line 90 of file types.h.
◆ mode_t
Used for file attributes.
Definition at line 97 of file types.h.
◆ nlink_t
| typedef unsigned short nlink_t |
Used for link counts.
Definition at line 104 of file types.h.
◆ off_t
Used for file sizes and offsets.
Definition at line 111 of file types.h.
◆ pid_t
Used for process IDs and process group IDs.
Definition at line 118 of file types.h.
◆ ssize_t
| typedef signed long ssize_t |
◆ suseconds_t
Used for time in microseconds.
Definition at line 141 of file types.h.
◆ uid_t
| typedef unsigned short uid_t |
Used for user IDs.
Definition at line 175 of file types.h.
◆ useconds_t
Used for time in microseconds (obsolescent).
Definition at line 183 of file types.h.