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

compat.h

#include <sys/stat.h>
#include <string.h>
#include <stdlib.h>

int sloppy_atomic_create(const char *p);
int atomic_create(const char *p);

#ifdef _WIN32
int mkstemp(char *p);
int pipe( int fildes[2] );
int renamefile(const char *from, const char *to);
#endif

int get_raw_mode();
void set_raw_mode(int raw);

int open_read(const char *fname);
int open_write(const char *fname);
int smart_wait(int pid);

int execvp_no_vtalarm(const char *file, char *const argv[]);

int is_symlink(const char *file);

int stdout_is_a_pipe();

int maybe_relink(const char *src, const char *dst, int careful);

Generated by  Doxygen 1.6.0   Back to index