Function riot_sys::vfs_fcntl

source ·
pub unsafe extern "C" fn vfs_fcntl(
    fd: c_int,
    cmd: c_int,
    arg: c_int
) -> c_int
Expand description

@brief Query/set options on an open file

@param[in] fd fd number to operate on @param[in] cmd fcntl command, see man 3p fcntl @param[in] arg argument to fcntl command, see man 3p fcntl

@return 0 on success @return <0 on error