-

Changes

Jump to: navigation, search

Functions HI-TECH C SYSTEM

656 bytes added, 00:11, 1 August 2017
Created page with "<strong>SYSTEM</strong> ==SYNOPSIS== #include <sys.h> int system(char * s) ==DESCRIPTION== When executed under MS-DOS <strong>system</strong>() will pass the argument..."
<strong>SYSTEM</strong>
==SYNOPSIS==

#include <sys.h>

int system(char * s)


==DESCRIPTION==
When executed under MS-DOS <strong>system</strong>() will pass the argument string to the command processor, located via the
environment string COMSPEC, for execution. The exit
status of the command processor will be returned from
the call to system(). For example, to set the baud
rate on the serial port on an MS-DOS machine:

system("MODE COM1:96,N,8,1,P");

This function will not work on CP/M-86 since it does
not have an invokable command interpreter. Under Concurrent CP/M the CLI system call is used.

==SEE ALSO==

spawnl, spawnv

Navigation menu