lesson 12 syscall c
[[lesson_12_syscall_c]] last edit on Aug 18, 2005 7:09 AM by rescued_by_c

[user02@FC4 Lesson12]$ cat -n syscall.c
   1  #include <stdlib.h>
   2
   3  int main(void)
   4  {
   5     system("ls");
   6
   7     return 0;

   8  }
[user02@FC4 Lesson12]$ gcc -o syscall syscall.c
[user02@FC4 Lesson12]$ ./syscall
bcc.txt cpp.txt showtime showtime.cpp sqrt.c syscall syscall.cpp vcgpp.txt
cint.txt c.txt showtime.c sqrt sqrt.cpp syscall.c vcgcc.txt
[user02@FC4 Lesson12]$