changed reading hint
[gromacs/adressmacs.git] / include / sysstuff.h
blob6f85686f625528b7b1dc139653f6f3a23465f93b
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 2.0
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * Please refer to:
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
23 * or e-mail to:
24 * gromacs@chem.rug.nl
26 * And Hey:
27 * Green Red Orange Magenta Azure Cyan Skyblue
30 #ifndef _sysstuff_h
31 #define _sysstuff_h
33 static char *SRCID_sysstuff_h = "$Id$";
35 #ifdef HAVE_IDENT
36 #ident "@(#) sysstuff.h 1.22 12/16/92"
37 #endif /* HAVE_IDENT */
39 #ifdef CPLUSPLUS
40 extern "C" {
41 #endif
44 #ifndef NO_STDINCLUDE
46 #ifndef _386_
47 #include <stdlib.h>
48 #endif
49 #include <stdio.h>
50 #include <errno.h>
51 #include <signal.h>
52 #ifndef _860_
53 #include <unistd.h>
54 #endif
55 #include <limits.h>
56 #include <time.h>
58 #else
60 extern int kill(int pid,int sig);
61 extern int fork();
62 extern int setpgrp();
63 extern int execv (char *path,char *argv[]);
64 extern int execvp(char *path,char *argv[]);
65 extern int execlp(char *path,...);
66 extern int getpid();
67 extern int getgid();
68 extern int _filbuf(FILE *stream);
69 extern void perror(char *s);
70 extern int printf(char *format,...);
71 extern int fprintf(FILE *stream,char *format,...);
72 extern void fflush(FILE *stream);
73 extern int fread (char *ptr,int size,int nitems,FILE *stream);
74 extern int fwrite(char *ptr,int size,int nitems,FILE *stream);
75 extern void ungetc(char c,FILE *stream);
76 extern int sscanf(char *s,char *format,...);
77 extern int fscanf(FILE *,char *format,...);
78 extern int scanf(char *format,...);
79 extern int close(int fd);
80 extern int fclose(FILE *stream);
81 extern int fseek(FILE *stream,long offset,int ptrname);
82 extern int read(int fd,char *buf,int nbyte);
83 extern int write(int fd,char *buf,int nbyte);
84 extern int ioctl(int fildes, int request, void *buf);
85 extern int unlink(char *path);
87 #endif
89 #ifdef CPLUSPLUS
91 #endif
93 #endif /* _sysstuff_h */