Skip to main content

mkdir

Function mkdir 

Source
pub unsafe extern "system" fn mkdir(
    pathname: *const c_char,
    mode: umode_t,
) -> c_int
Expand description

mkdir() attempts to create a directory named path.

§RETURN VALUE

mkdir() return zero on success. On error, -1 is returned and errno is set to indicate the error.

Read the docs here