gdb: unlink

 
 unlink
 ......
 
 Synopsis:
           int unlink(const char *pathname);
 
 Request:
      'Funlink,PATHNAMEPTR/LEN'
 
 Return value:
      On success, zero is returned.  On error, -1 is returned.
 
 Errors:
 
      'EACCES'
           No access to the file or the path of the file.
 
      'EPERM'
           The system does not allow unlinking of directories.
 
      'EBUSY'
           The file PATHNAME cannot be unlinked because it's being used
           by another process.
 
      'EFAULT'
           PATHNAMEPTR is an invalid pointer value.
 
      'ENAMETOOLONG'
           PATHNAME was too long.
 
      'ENOENT'
           A directory component in PATHNAME does not exist.
 
      'ENOTDIR'
           A component of the path is not a directory.
 
      'EROFS'
           The file is on a read-only filesystem.
 
      'EINTR'
           The call was interrupted by the user.