38#if !defined (PLIBSYS_H_INSIDE) && !defined (PLIBSYS_COMPILATION)
39# error "Header files shouldn't be included directly, consider using <plibsys.h> instead."
42#ifndef PLIBSYS_HEADER_PFILE_H
43#define PLIBSYS_HEADER_PFILE_H
53#if defined (P_OS_WIN) || defined (P_OS_OS2)
54# define P_DIR_SEPARATOR "\\"
56# define P_DIR_SEPARATOR "/"
struct PError_ PError
Opaque data structure for an error object.
P_LIB_API pboolean p_file_remove(const pchar *file, PError **error)
Removes a file from the disk.
P_LIB_API pboolean p_file_is_exists(const pchar *file)
Checks whether a file exists or not.
#define P_BEGIN_DECLS
Starts .h file declarations to be exported as C functions.
#define P_END_DECLS
Closes .h file declarations to be exported as C functions, should be always used after P_BEGIN_DECLS.
#define P_LIB_API
Exports a symbol from a shared library.
char pchar
Type for a char.
signed int pboolean
Type for a bool.