home *** CD-ROM | disk | FTP | other *** search
- // This may look like C code, but it is really -*- C++ -*-
- /*
- Copyright (C) 1988 Free Software Foundation
- written by Doug Lea (dl@rocky.oswego.edu)
-
- This file is part of the GNU C++ Library. This library is free
- software; you can redistribute it and/or modify it under the terms of
- the GNU Library General Public License as published by the Free
- Software Foundation; either version 2 of the License, or (at your
- option) any later version. This library is distributed in the hope
- that it will be useful, but WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE. See the GNU Library General Public License for more details.
- You should have received a copy of the GNU Library General Public
- License along with this library; if not, write to the Free Software
- Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-
-
- #ifndef _std_h
- #ifdef __GNUG__
- #pragma once
- #pragma interface
- #endif
- #define _std_h 1
-
- #include <stddef.h>
- #include <stdio.h>
- #include <string.h>
- #include <memory.h>
- #include <process.h>
- #include <unistd.h>
- #include <stdlib.h>
- #include <signal.h>
- #include <termcap.h>
-
- extern "C" {
-
- int execl(const char*, const char *, ...);
- int execle(const char*, const char *, ...);
- int execlp(const char*, const char*, ...);
- int exect(const char*, const char**, char**);
- int execv(const char*, const char**);
- int execve(const char*, const char**, char**);
- int execvp(const char*, const char**);
- void volatile exit(int);
-
- int fork(void);
-
- int isatty(int);
- void swab(void*, void*, int);
- int symlink(const char*, const char*);
- int system(const char*);
-
- }
- extern char** environ;
- extern volatile int errno;
- extern char* sys_errlist[];
- extern int sys_nerr;
- extern char* optarg;
- extern int opterr;
- extern int optind;
-
-
- // extern "C" void* alloca(long unsigned int);
- #ifndef alloca
- #define alloca __builtin_alloca
- #endif
- #if !(defined(__GNUG__) || defined(__GNUC__))
- extern "C" void *__builtin_alloca (long unsigned int);
- #endif
-
-
- #endif
-