Google Answers Logo
View Question
 
Q: execl on os 9 ( No Answer,   1 Comment )
Question  
Subject: execl on os 9
Category: Computers > Programming
Asked by: dj_ingenuity-ga
List Price: $5.00
Posted: 21 Aug 2002 13:09 PDT
Expires: 20 Sep 2002 13:09 PDT
Question ID: 57068
What library do I link to my OS9 mac program to provide support for
execl() (which is defined in the unistd.h include file). Note that I
am already linking to the GUSI compatibility lib.

Request for Question Clarification by maniac-ga on 21 Aug 2002 19:40 PDT
Hello dj_ingenuity,

I am sorry to say, that the best I can determine, GUSI does not
include a library that implements execl. I downloaded a copy of GUSI
2.2.0 from ...
  ftp://sunsite.cnlab-switch.ch/software/platform/macos/src/mw_c
onto my MacOS X machine, expanded the archive, and did...
  grep -irac execl . | grep -v :0
  ./include/unistd.h:1
which indicates the string "execl" only occurs in that one header file
and in no other file. From the change log for 2.2.2, at
  http://sourceforge.net/project/showfiles.php?group_id=7941&release_id=78422
the changes do not appear to have affected this capability.

Depending on your compiler, I could probably track down an equivalent
function. If that would be acceptable, please clarify your question to
allow alternatives and indicate which compiler you are using.
  --Maniac

Clarification of Question by dj_ingenuity-ga on 23 Aug 2002 12:58 PDT
we are using codewarrior on OS9.
Answer  
There is no answer at this time.

Comments  
Subject: Re: execl on os 9
From: maniac-ga on 27 Aug 2002 18:08 PDT
 
Hello dj_ingenuity,

I am still not sure, so this is not a billable answer. The best I can
determine
from on line documentation is from the Codewarrior MSL C Reference. As
I expected, execl support is basically a wrapper for exec. You can
call other programs with command line arguments, but the specific
semantics of execl may not be supported.

It does not say exactly which library exec is in, but there is a
listing of libraries required for Sioux and I would expect one of
those libraries to include exec.

I hope this helps. If not, the question is still open to someone else
to answer.
  --Maniac

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy