> -----Original Message-----
> From: Three Letter Acronym
> Sent: Monday, September 22, 2003 12:26 PM

> Bryan Rentoul wrote:
> > Well, after running
> >
> >     find . -type f -exec grep "No such file or directory" {} \;
>
> "No such file or directory" is a message from a library routine.
>
>  From /usr/include/errno.h:
>
> #define ENOENT          2               /* No such file or directory */
>
> I can only assume that the text itself is compiled into libc:
> [EMAIL PROTECTED] /usr/lib >> strings /usr/lib/libc.a | grep "No such file"
> No such file or directory
> [EMAIL PROTECTED] /usr/lib >>

Yep.  That's it.  It's "part of" perror and strerror that the test of
"errno" is defined, often in something called "sys_errlist[]".

So your best bet is to go looking for "Fatal Error" (which is *not* part of
errno), and/or "perror" and strerror and sys_errlist...

And... with all respect, Bryan, this is fairly elementary Unix programming
environment stuff, and you may be less frustrated by obtaining the services
of a regular Unix hacker (in the positive sense) rather than beat your head
against the wall much more...

> --tla

> > Bryan J. Rentoul
> > Director
> > NZ Hosting Limited

Malc.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to