OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [posix/] [include/] [unistd.h] - Blame information for rev 279

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/* unistd.h
2
 *
3
 *  $Id: unistd.h,v 1.2 2001-09-27 11:59:13 chris Exp $
4
 */
5
 
6
#ifndef __POSIX_UNISTD_h
7
#define __POSIX_UNISTD_h
8
 
9
#ifdef __cplusplus
10
extern "C" {
11
#endif
12
 
13
#include <sys/features.h>
14
 
15
/*
16
 *  4.8.1 Get Configurable System Variables, P1003.1b-1993, p. 96
17
 *
18
 *  NOTE: Table 4-2, Configurable System Variables, p. 96
19
 */
20
 
21
#define _SC_AIO_LISTIO_MAX          0
22
#define _SC_AIO_MAX                 1
23
#define _SC_AIO_PRIO_DELTA_MAX      2
24
#define _SC_ARG_MAX                 3
25
#define _SC_CHILD_MAX               4
26
#define _SC_CLK_TCK                 5
27
#define _SC_DELAYTIMER_MAX          6
28
#define _SC_MQ_OPEN_MAX             7
29
#define _SC_MQ_PRIO_MAX             8
30
#define _SC_NGROUPS_MAX             9
31
#define _SC_OPEN_MAX               10
32
#define _SC_PAGESIZE               11
33
#define _SC_RTSIG_MAX              12
34
#define _SC_SEM_NSEMS_MAX          13
35
#define _SC_SEM_VALUE_MAX          14
36
#define _SC_SIGQUEUE_MAX           15
37
#define _SC_STREAM_MAX             16
38
#define _SC_TIMER_MAX              17
39
#define _SC_TZNAME_MAX             18
40
 
41
#define _SC_ASYNCHRONOUS_IO        19
42
#define _SC_FSYNC                  20
43
#define _SC_JOB_CONTROL            21
44
#define _SC_MAPPED_FILES           22
45
#define _SC_MEMLOCK                23
46
#define _SC_MEMLOCK_RANGE          24
47
#define _SC_MEMORY_PROTECTION      25
48
#define _SC_MESSAGE_PASSING        26
49
#define _SC_PRIORITIZED_IO         27
50
#define _SC_REALTIME_SIGNALS       28
51
#define _SC_SAVED_IDS              29
52
#define _SC_SEMAPHORES             30
53
#define _SC_SHARED_MEMORY_OBJECTS  31
54
#define _SC_SYNCHRONIZED_IO        32
55
#define _SC_TIMERS                 33
56
#define _SC_VERSION                34
57
 
58
/*
59
 *  P1003.1c/D10, p. 52 adds the following.
60
 */
61
 
62
#define _SC_GETGR_R_SIZE_MAX             35
63
#define _SC_GETPW_R_SIZE_MAX             36
64
#define _SC_LOGIN_NAME_MAX               37
65
#define _SC_THREAD_DESTRUCTOR_ITERATIONS 38
66
#define _SC_THREAD_KEYS_MAX              39
67
#define _SC_THREAD_STACK_MIN             40
68
#define _SC_THREAD_THREADS_MAX           41
69
#define _SC_TTY_NAME_MAX                 42
70
 
71
#define _SC_THREADS                      43
72
#define _SC_THREAD_ATTR_STACKADDR        44
73
#define _SC_THREAD_ATTR_STACKSIZE        45
74
#define _SC_THREAD_PRIORITY_SCHEDULING   46
75
#define _SC_THREAD_PRIO_INHERIT          47
76
#define _SC_THREAD_PRIO_CEILING          48
77
#define _SC_THREAD_PROCESS_SHARED        49
78
#define _SC_THREAD_SAFE_FUNCTIONS        50
79
 
80
/* JRS: 04/02/98: _SC_THREAD_PRIO_CEILING seems to have changed names
81
 *                in the final standard to _SC_THREAD_PRIO_PROTECT.
82
 */
83
 
84
/*
85
 *  4.8.1 Get Configurable System Variables, P1003.1b-1993, p. 95
86
 */
87
 
88
long sysconf(
89
  int name
90
);
91
 
92
#ifdef __cplusplus
93
}
94
#endif
95
 
96
#endif
97
/* end of include */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.