Skip to content

Instantly share code, notes, and snippets.

@jwieder
Last active August 29, 2015 14:11
Show Gist options
  • Save jwieder/5ae5f30d77fb066e9093 to your computer and use it in GitHub Desktop.
Save jwieder/5ae5f30d77fb066e9093 to your computer and use it in GitHub Desktop.
The readlink function gets the value of the symbolic link filename. The file name that the link points to is copied into buffer. This file name string is not null-terminated; readlink normally returns the number of characters copied. The size argument specifies the maximum number of characters to copy, usually the allocation size of buffer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment