Help with execl

Don Glover corwin at polari.UUCP
Thu Sep 14 04:13:42 AEST 1989


I have a program that I have just compiled, in it does
execl(emprog[1],"Empire",cnumbuf,"","1","\0377",0); 
when run it returns a -1 and errno is set to 14.  this error is defined
as EFAULT Bad Address, for the life of me I can not figure out why I am
getting this.   I have printf'd all the arguements and they look fine.

Any suggestions will be appreciated.  I am doing this on 286 xenix 2.2.3
with the 2.2.1 development system.



More information about the Comp.unix.xenix mailing list