Guest User

Untitled

a guest
Jul 17th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. char * whatever const {
  2. char *buf;
  3. readlink(entry->d_name, buf, sizeof(buf)-1);
  4.  
  5. char *buf2 = (char *)malloc(1024);
  6. sprintf(buf2,"%s -> %s",entry->d_name,buf);
  7. return buf2;
  8.  
  9. }
Add Comment
Please, Sign In to add comment