summaryrefslogtreecommitdiff
path: root/hurd/hurd.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-11-13 23:52:38 +0000
committerRoland McGrath <roland@gnu.org>1999-11-13 23:52:38 +0000
commit0bd019279b29e72861ba57e6101afa5e6dafb3a5 (patch)
tree9c89dfd0f45958c30c82d3a5097cf5feaf96bd95 /hurd/hurd.h
parent28f08f3fd1c20c4352746839c242d3a7776041a6 (diff)
* Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
GLIBC_2.1.3. 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
Diffstat (limited to 'hurd/hurd.h')
-rw-r--r--hurd/hurd.h6
1 files changed, 6 insertions, 0 deletions
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 <fcntl.h>).
The file lookup uses the current root and working directory.
Returns a port to the file if successful; otherwise sets `errno'