From 0bd019279b29e72861ba57e6101afa5e6dafb3a5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 13 Nov 1999 23:52:38 +0000 Subject: * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to GLIBC_2.1.3. 1999-11-13 Roland McGrath --- hurd/hurd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hurd/hurd.h') diff --git a/hurd/hurd.h b/hurd/hurd.h index 9ef6834776..e9c2db8152 100644 --- a/hurd/hurd.h +++ b/hurd/hurd.h @@ -180,6 +180,12 @@ extern int seteuids (int __n, const uid_t *__uidset); extern file_t __file_name_split (const char *file, char **name); extern file_t file_name_split (const char *file, char **name); +/* Split DIRECTORY into a parent directory and a name within the directory. + This is the same as file_name_split, but ignores trailing slashes. */ + +extern file_t __directory_name_split (const char *file, char **name); +extern file_t directory_name_split (const char *file, char **name); + /* Open a port to FILE with the given FLAGS and MODE (see ). The file lookup uses the current root and working directory. Returns a port to the file if successful; otherwise sets `errno' -- cgit v1.2.3