/ ************************************************************************ * * Purpose: To test the system function. * * Author: M J Leslie * Date: 23-Oct-95 * ************************************************************************/ #include <stdlib.h> main() { /* Execute an system command and wait * for it to end. * DO NOT ATTEMPT TO RUN INERACTIVE CMDS*/ system("ls -l"); }
file: /Techref/language/ccpp/cref/EXAMPLES/system.c, 0KB, , updated: 1997/4/21 09:52, local time: 2024/9/7 08:27,
3.149.237.22:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/ccpp/cref/EXAMPLES/system.c"> language ccpp cref EXAMPLES system</A> |
Did you find what you needed? |