File: System.h

package info (click to toggle)
fvwm 1:2.6.8-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,804 kB
  • sloc: ansic: 145,770; xml: 17,093; perl: 7,302; sh: 4,921; makefile: 1,094; yacc: 688; lex: 187; sed: 11
file content (25 lines) | stat: -rw-r--r-- 668 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef LIB_SYSTEM_H
#define LIB_SYSTEM_H

fd_set_size_t GetFdWidth(void);
extern fd_set_size_t fvwmlib_max_fd;
void fvwmlib_init_max_fd(void);

int getostype(char *buf, int max);
void setPath(char **p_path, const char *newpath, int free_old_path);
char *searchPath(
	const char *pathlist, const char *filename, const char *suffix,
	int type);



/* An interface for verifying cached files. */
typedef unsigned long FileStamp;
FileStamp getFileStamp(const char *name);
void setFileStamp(FileStamp *stamp, const char *name);
Bool isFileStampChanged(const FileStamp *stamp, const char *name);

/* mkstemp */
int fvwm_mkstemp (char *TEMPLATE);

#endif /* LIB_SYSTEM_H */