GLib Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <glib.h> #define MAXPATHLEN #define NAME_MAX #define getcwd #define getpid typedef pid_t; #define access #define open #define read #define write #define lseek #define close #define pipe (phandles) #define popen #define pclose #define fdopen #define ftruncate (fd, size) #define opendir #define readdir #define rewinddir #define closedir |
These functions and macros are provided in the GLib library when compiled on the Windows platform.
Many of the macros simply rename available windows functions so that they use the same name as the standard Unix functions. This means that code written for the Unix platform will work without change under Windows.
A few additional constants, types, and functions are also provided, to provide a common base set of functions across both the Unix and Windows environments.