Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
+USE "svid3", "", "config" ;
29
+IF %% __SYSV_KERNEL_EXTENSION %%
30
+USE "svid3", "sys/types.h" ;
31
 
32
+CONST int PROT_READ, PROT_WRITE, PROT_EXEC, PROT_NONE ;
33
+CONST int MAP_SHARED, MAP_PRIVATE, MAP_FIXED ;
34
+CONST int MS_ASYNC, MS_SYNC, MS_INVALIDATE ;
35
 
36
+FUNC caddr_t mmap ( caddr_t, size_t, int, int, int, off_t ) ;
37
+FUNC int mprotect ( caddr_t, size_t, int ) ;
38
+FUNC int msync ( caddr_t, size_t, int ) ;
39
+FUNC int munmap ( caddr_t, size_t ) ;
40
 
41
+IF %% __SYSV_REAL_TIME %%
42
 
43
+CONST int SHARED, PRIVATE, PROC_TEXT, PROC_DATA, MC_LOCK, MC_LOCKAS ;
44
+CONST int MC_SYNC, MC_UNLOCK, MC_UNLOCKAS, MCL_CURRENT, MCL_FUTURE ;
45
 
46
/* Error in book? */
47
+FUNC int memcntl ( caddr_t, size_t, caddr_t, int, int, int ) ;
48
+FUNC int mlock ( caddr_t, size_t ) ;
49
+FUNC int munlock ( caddr_t, size_t ) ;
50
+FUNC int mlockall ( int ) ;
51
+FUNC int munlockall ( void ) ;
52
 
53
+ENDIF
54
+ENDIF