File: vms.h

package info (click to toggle)
gcvs 1.0final-12
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 12,248 kB
  • ctags: 10,631
  • sloc: ansic: 71,709; cpp: 39,780; sh: 18,434; makefile: 1,915; yacc: 1,299; tcl: 1,283; perl: 910; lex: 249; csh: 185; lisp: 7
file content (34 lines) | stat: -rwxr-xr-x 789 bytes parent folder | download | duplicates (7)
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
/* Determined from CC RTL function prototypes in online documentation */

#define mode_t unsigned int

#define fork(x) vfork(x)

#include <sys/types.h>
#include <unixio.h>
#include <unixlib.h>
#include <stdlib.h>
#include <processes.h>
#include <socket.h>

#define STDIN_FILENO  0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2

extern int fnmatch(char *pattern, char *string, int options);

/* With the define of HAVE_NDIR_H in config.h, lib/system.h and
   diff/system.h should include ndir.h for us.  But I'm too lazy to
   track down and make _sure_ all bases are covered, so I'm leaving in
   this include for now.  */
#include "ndir.h"

#include "pwd.h"
#include "pipe.h"

int unlink(char *path);
int link(char *from, char *to);

#define stat(a, b) wrapped_stat(a, b)

#undef POSIX