BSD syscall#13
svc · unix #13
sys_fchdir
Internal XNU symbol name for the fchdir(2) syscall; the public wrapper is fchdir(2).
Prototype
int sys_fchdir(int fd);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| fd | int | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-11215.1.10 | macOS 15.0 Sequoia | 13 |
| xnu-11417.101.15 | macOS 15.4 Sequoia | 13 |
| xnu-12377.1.9 | macOS 26.0 Tahoe | 13 |
| xnu-10063.101.15 | — | 13 |
| xnu-10063.121.3 | — | 13 |
| xnu-10063.141.1 | — | 13 |
| xnu-11215.41.3 | — | 13 |
| xnu-11215.61.5 | — | 13 |
| xnu-11215.81.4 | — | 13 |
| xnu-11417.121.6 | — | 13 |
| xnu-11417.140.69 | — | 13 |
| xnu-12377.101.15 | — | 13 |
| xnu-12377.41.6 | — | 13 |
| xnu-12377.61.12 | — | 13 |
| xnu-12377.81.4 | — | 13 |
Notes
Just the sys_-prefixed kernel function name; semantics are those of fchdir. See fchdir.
Related APIs
fchdirchdir__pthread_fchdiropenat