blob: 0b79b75b43bef9523fb3199113aa8b5113756135 (
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
|
/* $Id$
* ============================================================================
*
* = LIBRARY
* pace
*
* = FILENAME
* pace/posix/unistd.h
*
* = AUTHOR
* Luther Baker
*
* ============================================================================ */
#ifndef PACE_UNISTD_H_POSIX
#define PACE_UNISTD_H_POSIX
#include "pace/sys/types.h"
#include <unistd.h>
#if defined (PACE_HAS_CPLUSPLUS)
extern "C" {
#endif /* PACE_HAS_CPLUSPLUS */
#define PACE_F_OK F_OK
#ifndef PACE_NULL
# define PACE_NULL NULL
#endif /* PACE_NULL */
#define PACE_R_OK R_OK
#define PACE_SEEK_CUR SEEK_CUR
#define PACE_SEEK_END SEEK_END
#define PACE_SEEK_SET SEEK_SET
#define PACE_STDERR_FILENO STDERR_FILENO
#define PACE_STDIN_FILENO STDIN_FILENO
#define PACE_STDOUT_FILENO STDOUT_FILENO
#define PACE_W_OK W_OK
#define PACE_X_OK X_OK
/* _POSIX _PC _SC Macros need to go here */
#ifndef PACE_SIZE_T
#define PACE_SIZE_T
typedef size_t pace_size_t;
#endif /* PACE_SIZE_T */
#ifndef PACE_SSIZE_T
#define PACE_SSIZE_T
typedef ssize_t pace_ssize_t;
#endif /* PACE_SSIZE_T */
#if defined (PACE_HAS_CPLUSPLUS)
}
#endif /* PACE_HAS_CPLUSPLUS */
#endif /* PACE_UNISTD_H_POSIX */
|