process.h is the C
header file
An include directive instructs a text file processor to replace the directive text with the content of a specified file.
The act of including may be logical in nature. The processor may simply process the include file content at the location of ...
which contains function declarations and macros used in working with threads and processes. Most C compilers that target
DOS,
Windows 3.1x,
Win32
The Windows API, informally WinAPI, is the foundational application programming interface (API) that allows a computer program to access the features of the Microsoft Windows operating system in which the program is running. Programs can acces ...
,
OS/2
OS/2 is a Proprietary software, proprietary computer operating system for x86 and PowerPC based personal computers. It was created and initially developed jointly by IBM and Microsoft, under the leadership of IBM software designer Ed Iacobucci, ...
, Novell NetWare or
DOS extender
A DOS extender is a computer software program running under DOS that enables software to run in a protected mode environment even though the host operating system is only capable of operating in real mode.
DOS extenders were initially developed ...
s supply this header and the library functions in their C library. Neither the header file nor most of the functions are defined by either the
ANSI/ISO C standard or by
POSIX
The Portable Operating System Interface (POSIX; ) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems. POSIX defines application programming interfaces (APIs), along with comm ...
.
History
Microsoft's version of the file dates back to at least 1985, according to its copyright statement. An early reference to the file was in a post on the net.micro.pc usenet on Oct-26-1986.
[Is my floppy diskette formated?](_blank)
groups-beta.google.com The compiler used was
Microsoft C compiler version 3.0.
The
Lattice C
The Lattice C Compiler was released in June 1982 by Lifeboat Associates and was the first C compiler for the IBM Personal Computer. The compiler sold for $500 and would run on PC DOS or MS-DOS (which at the time were the same product with differ ...
compiler version 3.30 (Aug-24-1988) did not have such a header file, but offered similar functions.
Borland provided the header in their
Turbo C
Turbo C is a discontinued integrated development environment (IDE) and compiler for the C programming language from Borland. First introduced in 1987, it was noted for its integrated development environment, small size, fast compile speed, com ...
compiler version 2.01.
The C Ware-Personal C compiler version 1.2c (June 1989) had only the ANSI headers.
Functions
Constants
Implementations
Given the fact there is no standard on which to base the implementation, the functions declared by process.h differ, depending on the compiler in use. Below is a list of compilers which provide process.h.
* DJGPP
[DJGPP process.h](_blank)
delorie.com
* OpenWatcom,
[OpenWatcom clib](_blank)
, openwatcom.org
* Digital Mars
digitalmars.com
* MinGW
* Microsoft Visual C++
* Borland Turbo C, 2.0 and later
[C version 2.01](_blank)
dn.codegear.com
* Lcc32
* QNX Neutrino QCC 6.x
QNX.com
/ref>
Differences
Another aspect that might vary is the combined length of exec* and spawn* parameters.
* Delorie DJGPP: does not have such a limit.
delorie.com
* Digital Mars: the maximum is 128 bytes; nothing is stated about the ending '\0' character.
* Microsoft cl: the argument list for the new process must not exceed 1024 bytes.[Microsoft MSDN](_blank)
msdn.microsoft.com
References
{{Reflist
External links
C (programming language) headers