[−][src]Function libeyelink_sys::create_path
pub unsafe extern "C" fn create_path(
path: *mut c_char,
create: INT16,
is_dir: INT16
) -> c_int
@ingroup datafile Checks if path exists. Will create directory if 'create'. Creates directory from last name in 'path', unless ends with '' or 'is_dir' nonzero. Otherwise, last item is assumed to be filename and is dropped.
@return \c 0 if exists, \c 1 if created, \c -1 if failed.