summaryrefslogtreecommitdiff
path: root/hurd/fs.defs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-04 19:45:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-04 19:45:07 +0000
commit4a709ef691a60b3f04754b7433238d2a49b73f72 (patch)
tree03d78a47276709d9c09f56f4a98e6f1ef179d33d /hurd/fs.defs
parent846736f11fc6c60ad735bb5d70d570e4c50e6c23 (diff)
Formerly fs.defs.~73~
Diffstat (limited to 'hurd/fs.defs')
-rw-r--r--hurd/fs.defs12
1 files changed, 12 insertions, 0 deletions
diff --git a/hurd/fs.defs b/hurd/fs.defs
index b29e6128..ef3d5657 100644
--- a/hurd/fs.defs
+++ b/hurd/fs.defs
@@ -240,6 +240,18 @@ routine dir_rename (
newdirectory: file_t;
newname: string_t);
+/* Create a new file without linking it into the filesystem. You
+ still must have write permission on the specified directory, even
+ though it will not actually be written. Return in *newnode a port
+ to the file. Flags are the same as for dir_pathtrans, but
+ O_CREAT and O_TRUNC are assumed even if not specified. */
+/* INTR */
+routine dir_mkfile (
+ directory: file_t;
+ flags: int;
+ mode: mode_t;
+ out mach_port_send_t newnode);
+
/* To get or set the translator currently running on a file, use
file_set_translator, file_get_translator, or
file_get_translator_cntl on a port gotten with the