Close fd in CMD_Exec
[fvwm.git] / libs / System.h
blob4b56b3cd41b8b936f0c8952fb80f00e44dd9bcf7
1 #ifndef LIB_SYSTEM_H
2 #define LIB_SYSTEM_H
4 fd_set_size_t GetFdWidth(void);
5 extern fd_set_size_t fvwmlib_max_fd;
6 void fvwmlib_init_max_fd(void);
8 int getostype(char *buf, int max);
9 void setPath(char **p_path, const char *newpath, int free_old_path);
10 char *searchPath(
11 const char *pathlist, const char *filename, const char *suffix,
12 int type);
16 /* An interface for verifying cached files. */
17 typedef unsigned long FileStamp;
18 FileStamp getFileStamp(const char *name);
19 void setFileStamp(FileStamp *stamp, const char *name);
20 Bool isFileStampChanged(const FileStamp *stamp, const char *name);
22 /* mkstemp */
23 int fvwm_mkstemp (char *TEMPLATE);
25 #endif /* LIB_SYSTEM_H */