summaryrefslogtreecommitdiff
path: root/PACE/pace/posix/stat.inl
blob: fc5eac836ac41df19231b9c4cbcfd95ba53c951c (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/* $Id$ -*- C -*-

 * =============================================================================
 *
 * = LIBRARY
 *    pace
 *
 * = FILENAME
 *    pace/posix/stat.inl
 *
 * = AUTHOR
 *    Luther Baker
 *
 * ============================================================================= */

PACE_INLINE
int
pace_chmod (const char * path, pace_mode_t mode)
{
  return chmod (path, mode);
}

PACE_INLINE
int
pace_fchmod (int fildes, pace_mode_t mode)
{
  return fchmod (fildes, mode);
}

PACE_INLINE
int
pace_fstat (int fildes, struct stat * buf)
{
  return fstat (fildes, buf);
}

PACE_INLINE
int
pace_mkdir (const char * path, pace_mode_t mode)
{
  return mkdir (path, mode);
}

PACE_INLINE
int
pace_mkfifo (const char * path, pace_mode_t mode)
{
  return mkfifo (path, mode);
}

PACE_INLINE
int
pace_stat (const char * path, struct stat * buf)
{
  return stat (path, buf);
}

PACE_INLINE
pace_mode_t
pace_umask (pace_mode_t cmask)
{
  return umask (cmask);
}