35 #define IPC_CREAT 0001000
36 #define IPC_EXCL 0002000
37 #define IPC_PRIVATE (key_t)0
46 #define CONF_INITUSERS 1
48 UT_API void UTnap(
int millisec);
51 static inline void sginap(
int centiseconds)
53 return UTnap(centiseconds * 10);
56 static inline void sleep(
int seconds)
58 return UTnap(seconds * 1000);
62 UT_API int mkdir(
const char *,
int );
67 #define S_ISDIR(st_mode) (((st_mode) & S_IFMT) == S_IFDIR)
70 #define S_ISREG(st_mode) (((st_mode) & S_IFMT) == S_IFREG)
74 UT_API void *shmat( key_t
h,
void *addr,
int flag );
75 UT_API int shmdt(
void *mem );
76 UT_API key_t shmget( key_t key,
int size,
int flag );
77 UT_API int shmctl( key_t
h,
int cmd,
int parm );
78 UT_API int shmctl( key_t
h,
int cmd );
82 UT_API void UTclearHostnameCache();
89 #define getpid() _getpid()
95 UT_API void cftime(
char *dest,
char *fmt, time_t *now );
99 UT_API bool UTisUserAnAdmin();
103 #endif // _UT_NTUtil_h_
GLsizei const GLchar *const * path
GLfloat GLfloat GLfloat GLfloat h
UT_API int UTgethostname(UT_String &host)