libp7/doc/p7_createdir.3.txt

40 lines
652 B
Plaintext

P7_CREATEDIR(3)
===============
Thomas "Cakeisalie5" Touhey
:Email: thomas@touhey.fr
:man source: libp7
:man manual: libp7 manual
NAME
----
p7_createdir - create a directory
SYNOPSIS
--------
[source,c]
----
#include <libp7.h>
int p7_createdir(p7_handle_t *handle, const char *dirname, const char *devname);
p7_createdir(handle, "AwsumDIR", "fls0");
----
DESCRIPTION
-----------
*p7_createdir* creates a directory named *dirname* on the filesystem *devname*.
RETURN VALUE
------------
This function returns zero if everything went well, and the error code
otherwise.
ERRORS
------
See *p7_error*(3).
SEE ALSO
--------
*libp7*(3),
*p7_error*(3)