close
Function parameters
Parameters
- fd:i32
Ported from /sys/include/ape/errno.h
Types
Gets whatever the last errstr was
Functions
= 0
Values
- STDIN_FILENO
- = 0
- PATH_MAX
- = 1023
- ERRMAX
- = 128
Source
Implementation
pub fn close(fd: i32) usize {
return syscall_bits.syscall1(.CLOSE, @bitCast(@as(isize, fd)));
}