Hard and Soft Links
- This is chapter 18
- hard links
- int link(const char *oldpath, const char *newpath);
- int unlink(const char *pathname);
- int rename(const char *oldpath, const char *newpath);
- Cool semantics on this one. Read the man page.
- Symbolic Links
- The table on page 345 describes how some system calls deal with symbolic links.
- int symlink(const char *target, const char *linkpath);
- ssize_t readlink(const char *pathname, char *buf, size_t bufsiz);