summaryrefslogtreecommitdiff
path: root/PACE/pace/vxworks/fcntl.inl
blob: 23308b8fe2206b915723be31a3c67335deff943e (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
/* $Id$ -*- C -*-

 * =============================================================================
 *
 * = LIBRARY
 *    pace
 *
 * = FILENAME
 *    pace/vxworks/fcntl.inl
 *
 * = AUTHOR
 *    Joe Hoffert
 *
 * ============================================================================= */

#if (PACE_HAS_POSIX_FS_UOF)
PACE_INLINE
int
pace_creat (const char * path, pace_mode_t mode)
{
  PACE_TRACE("pace_creat");

  return creat (path, mode);
}
#endif /* PACE_HAS_POSIX_FS_UOF */

#if (PACE_HAS_POSIX_FM_UOF)
PACE_INLINE
int
pace_fcntl (PACE_HANDLE fildes, int cmd, long arg)
{
  PACE_TRACE("pace_fcntl");

  PACE_UNUSED_ARG(fildes);
  PACE_UNUSED_ARG(cmd);
  PACE_UNUSED_ARG(arg);
  PACE_ERRNO_NO_SUPPORT_RETURN (-1);
}
#endif /* PACE_HAS_POSIX_FS_UOF */