File: aix-syscall.h

package info (click to toggle)
zlibc 0.9k-4.3
  • links: PTS
  • area: main
  • in suites: buster, sid, stretch
  • size: 624 kB
  • ctags: 461
  • sloc: sh: 3,195; ansic: 3,077; csh: 128; makefile: 60; sed: 4
file content (36 lines) | stat: -rw-r--r-- 858 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
26
27
28
29
30
31
32
33
34
35
36
/* commands with one filename and one "other" argument */
#define ALIAS(alias, type) \
int alias(char *filename, type var);

ALIAS(zlib_real_access, int)
ALIAS(zlib_real_chmod, int)

ALIAS(zlib_real_stat, struct stat*)
ALIAS(zlib_real_lstat, struct stat*)

#ifdef SYS_UTIME
ALIAS(zlib_real_utime, struct utimbuf *)
#endif

#ifdef SYS_UTIMES
int utimes();
ALIAS(zlib_real_utimes, struct timeval *)
#endif

#undef ALIAS


/* commands with two filenames */
#define ALIAS(alias) \
int alias(const char *filename, const char *filename2);

ALIAS(zlib_real_link);
ALIAS(zlib_real_symlink);
ALIAS(zlib_real_rename);

#undef ALIAS

int zlib_real_chown(const char *filename, int o, int g);
int zlib_real_open(const char *pathname, int flags, mode_t mode);
int zlib_real_unlink(const char *pathname);
int zlib_real_readlink(const char *path, char *buf, size_t bufsiz);