From 4a709ef691a60b3f04754b7433238d2a49b73f72 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 4 Feb 1994 19:45:07 +0000 Subject: Formerly fs.defs.~73~ --- hurd/fs.defs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'hurd') 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 -- cgit v1.2.3