system call

Steven D Cook (scook@eecs.wsu.edu)
Thu, 8 Feb 1996 22:45:14 -0700 (PDT)


Hi all,
I am writing a program that needs to do a system call, ie. system("alias
dir='ls -al'"). The #include <stdlib.h> is "included". When "gcc setal.c" I
get "In file included from /usr/include/stlib.h:35,
from setal.c:2:
/usr/include/errno.h:27: linux/errno.h: No such file or directory"
as far as I know I don't have a linux directory anywhere. Am I missing something?
Thanks,

-------------------------------------------------------------
WASHINGTON STATE UNIVERSITY |In the begining there was
Steven D Cook |nothing, which exploded.
http://www.eecs.wsu.edu/~scook |
_____________________________________________________________