|
 |
|
|
|
|
Parameter:
Effect:
Function return value: |
|
|
|
| |
|
|
|
|
An int expression exitStatus |
|
|
|
 |
|
|
|
|
Program execution terminates immediately with all files properly closed |
|
|
|
 |
|
|
|
|
By convention, exitStatus is 0 to indicate normal program completion and is nonzero to indicate an abnormal termination. |
|
|
|
|
|
 |
|
|
|
|
Parameter:
Function return value: |
|
|
|
| |
|
|
|
|
A long expression i A long value that is the absolute value of i |
|
|
|
|
|
 |
|
|
|
|
Parameter:
Function return value:
Note: |
|
|
|
|  |
|
|
|
|
A random int value in the range 0 through RAND_MAX, a constant defined in stdlib.h (RAND_MAX is usually the same as INT_MAX) |
|
|
|
|
|
 |
|
|
|
|
Parameter:
Effect:
Function return value:
Note: |
|
|
|
| |
|
|
|
|
An int expression seed, where seed > 0 |
|
|
|
 |
|
|
|
|
Using seed, the random number generator is initialized in preparation for subsequent calls to the rand function. |
|
|
|
|
|
|
|
|
If srand is not called before the first call to rand, a seed value of 1 is assumed. |
|
|
|
|
|
 |
|
|
|
|
Parameter:
Effect:
Function return value:
Note: |
|
|
|
|  |
|
|
|
|
A string (null-terminated char array) str representing an operating system command, exactly as it would be typed by a user on the operating system command line
The operating system command represented by str is executed. |
|
|
|
|
|
|
|
|
An int value that is system-dependent |
|
|
|
 |
|
|
|
|
Programmers often ignore the function return value, using the syntax of a void function call rather than a value-returning function call. |
|
|
|
|