Branch: Tag:

2014-12-04

2014-12-04 19:25:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Stdio: Added File()->get_dir().

Added function for getting the directory contents relative to an open
file.

64: Inside #if defined(HAVE_FSTATAT)
  FILE_FUNC("unlinkat", file_unlinkat, tFunc(tStr, tInt01));   #endif /* HAVE_UNLINKAT */   #endif /* HAVE_FSTATAT */ + #if defined(HAVE_FDOPENDIR) && defined(HAVE_OPENAT) + FILE_FUNC("get_dir", file_get_dir, tFunc(tOr(tStr,tVoid),tArr(tStr8))); + #endif /* HAVE_FDOPENDIR && HAVE_OPENAT */   /* function(:int) */   FILE_FUNC("errno",file_errno, tFunc(tNone,tInt))   /* function(:int) */