Link to home
Start Free TrialLog in
Avatar of learningunix
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?
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of learningunix
learningunix

ASKER

Thx
its no such file or directory