PatchworkOS
da8a090
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
fd_t.h
Go to the documentation of this file.
1
#ifndef _AUX_FD_T_H
2
#define _AUX_FD_T_H 1
3
4
/**
5
* @brief A file descriptor.
6
* @ingroup libstd
7
*
8
* The `fd_t` type represents a file descriptor, which is a index into the processes files table. We also define the
9
* special value `FD_NONE` which is equal to `UINT64_MAX` to represent no file descriptor.
10
*
11
*/
12
typedef
__UINT64_TYPE__
fd_t
;
13
14
/**
15
* @brief No file descriptor constant.
16
* @ingroup libstd
17
* @def FD_NONE
18
*
19
* The `FD_NONE` value represents no file descriptor.
20
*
21
*/
22
#define FD_NONE __UINT64_MAX__
23
24
#endif
fd_t
__UINT64_TYPE__ fd_t
A file descriptor.
Definition
fd_t.h:12
include
libstd
_internal
fd_t.h
Generated on Fri Dec 12 2025 00:22:10 for PatchworkOS by
1.9.8