/* process.h
Symbols and structures for process management.
Copyright (c) Borland International 1987,1988
All Rights Reserved.
*/
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
/* Modes available as first argument to the spawnxx functions. */
#define P_WAIT 0 /* child runs separately, parent waits until exit */
#define P_NOWAIT 1 /* both concurrent -- not implemented */
#define P_OVERLAY 2 /* child replaces parent, parent no longer exists */
/* MSDOS does not have any abstract identifier for a process, but the
process Program Segment Prefix location provides a similar token.
*/
#ifndef _psp
extern unsigned _Cdecl _psp; /* provided unconditionally in dos.h */
#endif
#define getpid() (_psp)
void _Cdecl abort(void);
int _Cdecl execl(char *path, char *arg0, ...);
int _Cdecl execle(char *path, char *arg0, ...);
int _Cdecl execlp(char *path, char *arg0, ...);
int _Cdecl execlpe(char *path, char *arg0, ...);
int _Cdecl execv(char *path, char *argv[]);
int _Cdecl execve(char *path, char *argv[], char **env);
int _Cdecl execvp(char *path, char *argv[]);
int _Cdecl execvpe(char *path, char *argv[], char **env);
void _Cdecl exit(int status);
void _Cdecl _exit(int status);
int _Cdecl spawnl(int mode, char *path, char *arg0, ...);
int _Cdecl spawnle(int mode, char *path, char *arg0, ...);
int _Cdecl spawnlp(int mode, char *path, char *arg0, ...);
int _Cdecl spawnlpe(int mode, char *path, char *arg0, ...);
int _Cdecl spawnv(int mode, char *path, char *argv[]);
int _Cdecl spawnve(int mode, char *path, char *argv[], char **env);
int _Cdecl spawnvp(int mode, char *path, char *argv[]);
int _Cdecl spawnvpe(int mode, char *path, char *argv[], char **env);
int _Cdecl system(const char *command);
Symbols and structures for process management.
Copyright (c) Borland International 1987,1988
All Rights Reserved.
*/
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
/* Modes available as first argument to the spawnxx functions. */
#define P_WAIT 0 /* child runs separately, parent waits until exit */
#define P_NOWAIT 1 /* both concurrent -- not implemented */
#define P_OVERLAY 2 /* child replaces parent, parent no longer exists */
/* MSDOS does not have any abstract identifier for a process, but the
process Program Segment Prefix location provides a similar token.
*/
#ifndef _psp
extern unsigned _Cdecl _psp; /* provided unconditionally in dos.h */
#endif
#define getpid() (_psp)
void _Cdecl abort(void);
int _Cdecl execl(char *path, char *arg0, ...);
int _Cdecl execle(char *path, char *arg0, ...);
int _Cdecl execlp(char *path, char *arg0, ...);
int _Cdecl execlpe(char *path, char *arg0, ...);
int _Cdecl execv(char *path, char *argv[]);
int _Cdecl execve(char *path, char *argv[], char **env);
int _Cdecl execvp(char *path, char *argv[]);
int _Cdecl execvpe(char *path, char *argv[], char **env);
void _Cdecl exit(int status);
void _Cdecl _exit(int status);
int _Cdecl spawnl(int mode, char *path, char *arg0, ...);
int _Cdecl spawnle(int mode, char *path, char *arg0, ...);
int _Cdecl spawnlp(int mode, char *path, char *arg0, ...);
int _Cdecl spawnlpe(int mode, char *path, char *arg0, ...);
int _Cdecl spawnv(int mode, char *path, char *argv[]);
int _Cdecl spawnve(int mode, char *path, char *argv[], char **env);
int _Cdecl spawnvp(int mode, char *path, char *argv[]);
int _Cdecl spawnvpe(int mode, char *path, char *argv[], char **env);
int _Cdecl system(const char *command);
Learn More :
Process Management
Turbo C
- string.h Definitions for memory and string functions
- stdlib.h Definitions for common types, variables, and functions
- stdio.h Definitions for stream input/output
- stddef.h Definitions for common types, NULL, and errno
- stdarg.h Definitions for accessing parameters in functions that accept a variable number of arguments
- stat.h Definitions used for file status functions
- signal.h Definitions for ANSI defined signaling capability
- share.h File sharing mode for use with sopen
- setjmp.h Defines typedef and functions for setjmp/longjmp.
- mem.h Memory manipulation functions
- MCOMMAND Programming in C
- MCINPUT Programming in C
- MCDISPLY Programming in C
- MCALC Turbo C Programming
- matherr - user-modifiable math error handler
- math.h Definitions for the math floating point package.
- alloc.h memory management functions and variables
- Precedence of Operators in C++
- #include In C++
- Structure of a program in C++ Learn
- getopt.c -- Turbo C
Header Files
- iPhone HelloWorld 之HelloWorldAppDelegate.h
- string.h Definitions for memory and string functions
- stdlib.h Definitions for common types, variables, and functions
- stdio.h Definitions for stream input/output
- stddef.h Definitions for common types, NULL, and errno
- stdarg.h Definitions for accessing parameters in functions that accept a variable number of arguments
- signal.h Definitions for ANSI defined signaling capability
- share.h File sharing mode for use with sopen
- setjmp.h Defines typedef and functions for setjmp/longjmp.
- mem.h Memory manipulation functions
- math.h Definitions for the math floating point package.
- alloc.h memory management functions and variables
- #include In C++
- ctype.h Defines the ctype macros.
C
- string.h Definitions for memory and string functions
- stdlib.h Definitions for common types, variables, and functions
- stdio.h Definitions for stream input/output
- stddef.h Definitions for common types, NULL, and errno
- stdarg.h Definitions for accessing parameters in functions that accept a variable number of arguments
- stat.h Definitions used for file status functions
- signal.h Definitions for ANSI defined signaling capability
- share.h File sharing mode for use with sopen
- setjmp.h Defines typedef and functions for setjmp/longjmp.
- mem.h Memory manipulation functions
- MCOMMAND Programming in C
- MCINPUT Programming in C
- MCDISPLY Programming in C
- MCALC Turbo C Programming
- matherr - user-modifiable math error handler
- math.h Definitions for the math floating point package.
- alloc.h memory management functions and variables
- alloc.h Memory Management Functions and Variables
- Defines structs, unions, macros, and functions for dealing with MSDOS and the Intel iAPX86 microprocessor family
- How do I create a configuration file?
- What is a configuration file? in C
- What is the difference between TC.EXE and TCC.EXE?
- How do I run Turbo C?
- How do I install Turbo C?