riot_sys::bindgen

Function vfs_open

Source
pub unsafe extern "C" fn vfs_open(
    name: *const c_char,
    flags: c_int,
    mode: mode_t,
) -> c_int
Expand description

@brief Open a file

@param[in] name file name to open @param[in] flags flags for opening, see man 3p open @param[in] mode file mode

@return fd number on success (>= 0) @return <0 on error