/ ************************************************************************ * * 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 08:52, local time: 2024/11/23 23:58,
3.142.200.247: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://techref.massmind.org/Techref/language/ccpp/Cref/EXAMPLES/system.c"> language ccpp Cref EXAMPLES system</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.