Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

gphoto2-port-portability.h File Reference


Detailed Description

Definition in file gphoto2-port-portability.h.

#include <time.h>
#include <strings.h>
#include <sys/types.h>
#include <dirent.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <unistd.h>

Go to the source code of this file.

Defines

#define _POSIX_C_SOURCE   199309
#define _XOPEN_SOURCE   500
#define gp_system_dir   DIR *
#define gp_system_dir_delim   '/'
#define gp_system_dirent   struct dirent *
#define GP_SYSTEM_SLEEP(_ms)

Functions

int gp_system_closedir (gp_system_dir dir)
 closedir UNIX functionality
const char * gp_system_filename (gp_system_dirent de)
 retrieve UNIX filename out of a directory entry
int gp_system_is_dir (const char *dirname)
 check if passed filename is a directory
int gp_system_is_file (const char *filename)
 check if passed filename is a file
int gp_system_mkdir (const char *dirname)
 mkdir UNIX functionality
gp_system_dir gp_system_opendir (const char *dirname)
 opendir UNIX functionality
gp_system_dirent gp_system_readdir (gp_system_dir d)
 readdir UNIX functionality
int gp_system_rmdir (const char *dirname)
 rmdir UNIX functionality


Generated by  Doxygen 1.6.0   Back to index