In article <[EMAIL PROTECTED]>,
Shaleh <[EMAIL PROTECTED]> wrote:
>I was testing a program and to see how it handled an invalid group I did:
>
>gr = getgrnam("bob");
>
>Now obviously this failed. However the string from perror() states:
>
>"Could not find file or directory"
>
The manual page for
>
> I was testing a program and to see how it handled an invalid group I did:
>
> gr = getgrnam("bob");
>
> Now obviously this failed. However the string from perror() states:
>
> "Could not find file or directory"
>
> Why is this? Seems like a counter intuitive error.
I think the error is
I was testing a program and to see how it handled an invalid group I did:
gr = getgrnam("bob");
Now obviously this failed. However the string from perror() states:
"Could not find file or directory"
Why is this? Seems like a counter intuitive error.
(Yes I know UNIX is sometimes like that, b
3 matches
Mail list logo