2 |
7u83 |
1 |
# Crown Copyright (c) 1997
|
|
|
2 |
#
|
|
|
3 |
# This TenDRA(r) Computer Program is subject to Copyright
|
|
|
4 |
# owned by the United Kingdom Secretary of State for Defence
|
|
|
5 |
# acting through the Defence Evaluation and Research Agency
|
|
|
6 |
# (DERA). It is made available to Recipients with a
|
|
|
7 |
# royalty-free licence for its use, reproduction, transfer
|
|
|
8 |
# to other parties and amendment for any purpose not excluding
|
|
|
9 |
# product development provided that any such use et cetera
|
|
|
10 |
# shall be deemed to be acceptance of the following conditions:-
|
|
|
11 |
#
|
|
|
12 |
# (1) Its Recipients shall ensure that this Notice is
|
|
|
13 |
# reproduced upon any copies or amended versions of it;
|
|
|
14 |
#
|
|
|
15 |
# (2) Any amended version of it shall be clearly marked to
|
|
|
16 |
# show both the nature of and the organisation responsible
|
|
|
17 |
# for the relevant amendment or amendments;
|
|
|
18 |
#
|
|
|
19 |
# (3) Its onward transfer from a recipient to another
|
|
|
20 |
# party shall be deemed to be that party's acceptance of
|
|
|
21 |
# these conditions;
|
|
|
22 |
#
|
|
|
23 |
# (4) DERA gives no warranty or assurance as to its
|
|
|
24 |
# quality or suitability for any purpose and DERA accepts
|
|
|
25 |
# no liability whatsoever in relation to any use to which
|
|
|
26 |
# it may be put.
|
|
|
27 |
#
|
|
|
28 |
+IMPLEMENT "xpg4", "unistd.h" ;
|
|
|
29 |
+IMPLEMENT "ansi", "stddef.h", "null" ;
|
|
|
30 |
+IMPLEMENT "ansi", "stdio.h", "seek_consts" ;
|
|
|
31 |
|
|
|
32 |
+CONST int _SC_ATEXIT_MAX ;
|
|
|
33 |
+CONST int _SC_PAGESIZE, _SC_PAGE_SIZE ;
|
|
|
34 |
+CONST int _SC_IOV_MAX ;
|
|
|
35 |
+CONST int _SC_XOPEN_UNIX ;
|
|
|
36 |
|
|
|
37 |
+CONST int F_ULOCK, F_LOCK, F_TLOCK, F_TEST ;
|
|
|
38 |
|
|
|
39 |
+IMPLEMENT "ansi", "stddef.h", "size_t" ;
|
|
|
40 |
+IMPLEMENT "posix1", "sys/types.h", "ssize_t" ;
|
|
|
41 |
+IMPLEMENT "posix", "sys/types.h", "guid" ;
|
|
|
42 |
+IMPLEMENT "posix", "sys/types.h", "off_t" ;
|
|
|
43 |
+IMPLEMENT "posix", "sys/types.h", "pid_t" ;
|
|
|
44 |
+IMPLEMENT "unix95", "sys/types.h", "useconds_t" ;
|
|
|
45 |
+IMPLEMENT "xpg4", "stdio.h", "optopt" ;
|
|
|
46 |
|
|
|
47 |
+FUNC int brk ( void * ) ;
|
|
|
48 |
+FUNC int fchown ( int, uid_t, gid_t ) ;
|
|
|
49 |
+FUNC int fchdir ( int ) ;
|
|
|
50 |
+FUNC int ftruncate ( int, off_t ) ;
|
|
|
51 |
+FUNC int getdtablesize ( void ) ;
|
|
|
52 |
+FUNC long gethostid ( void ) ;
|
|
|
53 |
+FUNC int getpagesize ( void ) ;
|
|
|
54 |
+FUNC pid_t getpgid ( pid_t ) ;
|
|
|
55 |
+FUNC pid_t getsid ( pid_t ) ;
|
|
|
56 |
+FUNC char *getwd ( char * ) ;
|
|
|
57 |
+FUNC int lchown ( const char *, uid_t, gid_t ) ;
|
|
|
58 |
+FUNC int lockf ( int, int, off_t ) ;
|
|
|
59 |
+FUNC int readlink ( const char *, char *, size_t ) ;
|
|
|
60 |
+FUNC void *sbrk ( int ) ;
|
|
|
61 |
+FUNC pid_t setpgrp ( void ) ;
|
|
|
62 |
+FUNC int setregid ( gid_t, gid_t ) ;
|
|
|
63 |
+FUNC int setreuid ( uid_t, uid_t ) ;
|
|
|
64 |
+FUNC int symlink ( const char *, const char * ) ;
|
|
|
65 |
+FUNC void sync ( void ) ;
|
|
|
66 |
+FUNC int truncate ( const char *, off_t ) ;
|
|
|
67 |
+FUNC useconds_t ualarm ( useconds_t, useconds_t ) ;
|
|
|
68 |
+FUNC int usleep ( useconds_t ) ;
|
|
|
69 |
+FUNC pid_t vfork ( void ) ;
|
|
|
70 |
|
|
|
71 |
# CAE, Networking Services, Issue 4
|
|
|
72 |
+FUNC int gethostname ( char *, size_t ) ;
|