Method: FFI::Libfuse::FuseOperations#mkdir

Defined in:
lib/ffi/libfuse/fuse_operations.rb

#mkdir(path, mode) ⇒ Integer

This method is abstract.

Create a directory

Note that the mode argument may not have the type specification bits set, i.e. S_ISDIR(mode) can be false. To obtain the correct directory type bits use mode | Stat::S_IFDIR

Parameters:

Returns:

  • 0 for success or -ve errno



# File 'lib/ffi/libfuse/fuse_operations.rb', line 181