learningunix
asked on
readlink error code
char buffer[128];
if ( (len = readlink(path, buffer, sizeof(buffer))) == -1) {
printf("Error Reading link %d\n", errno);
I get output "Error Reading link 2"
what does 2 implies?
if ( (len = readlink(path, buffer, sizeof(buffer))) == -1) {
printf("Error Reading link %d\n", errno);
I get output "Error Reading link 2"
what does 2 implies?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
its no such file or directory
ASKER