|
ISLEman
|
Portable versions of functions that are platform dependent. More...
#include <sys/types.h>#include <stdio.h>#include <qglobal.h>Go to the source code of this file.
Typedefs | |
| typedef off_t | portable_off_t |
Functions | |
| int | portable_system (const char *command, const char *args, bool commandHasConsole=TRUE) |
| uint | portable_pid () |
| const char * | portable_getenv (const char *variable) |
| void | portable_setenv (const char *variable, const char *value) |
| void | portable_unsetenv (const char *variable) |
| portable_off_t | portable_fseek (FILE *f, portable_off_t offset, int whence) |
| portable_off_t | portable_ftell (FILE *f) |
| FILE * | portable_fopen (const char *fileName, const char *mode) |
| char | portable_pathSeparator () |
| char | portable_pathListSeparator () |
| const char * | portable_ghostScriptCommand () |
| const char * | portable_commandExtension () |
| bool | portable_fileSystemIsCaseSensitive () |
| FILE * | portable_popen (const char *name, const char *type) |
| int | portable_pclose (FILE *stream) |
| void | portable_sysTimerStart () |
| void | portable_sysTimerStop () |
| double | portable_getSysElapsedTime () |
| void | portable_sleep (int ms) |
| bool | portable_isAbsolutePath (const char *fileName) |
| void | portable_correct_path (void) |
| Correct a possible wrong PATH variable. More... | |
| void * | portable_iconv_open (const char *tocode, const char *fromcode) |
| size_t | portable_iconv (void *cd, char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
| int | portable_iconv_close (void *cd) |
Portable versions of functions that are platform dependent.
| void portable_correct_path | ( | void | ) |
Correct a possible wrong PATH variable.
This routine was inspired by the cause for bug 766059 was that in the Windows path there were forward slahes.
| int portable_system | ( | const char * | command, |
| const char * | args, | ||
| bool | commandHasConsole = TRUE |
||
| ) |
taken from the system() manpage on my Linux box
1.8.12