Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2001 14:06:45 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        Dmitry Yakovlev <yakovlev@ns.nonel.pu.ru>
Cc:        questions <questions@freebsd.org>, "Jon.Molin" <Jon.Molin@resfeber.se>
Subject:   Re: /tmp space - new facts
Message-ID:  <Pine.GSO.4.31.0110311404580.17249-100000@mail.ilrt.bris.ac.uk>
In-Reply-To: <200110311400.RAA09506@ns.nonel.pu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 31 Oct 2001, Dmitry Yakovlev wrote:

>
> Questions are:
> 1) Does files withot name (only with inode)
>    can exist in FreeBSD?
> 2) If can, by what way I may create it?

int fd = open(fname, ...);
unlink (fname);

...

/* use the file pointed to by fd */

close(fd); /* file resources released */

This is the way unix behaves.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk
Hang on, wasn't he holding a wooden parrot? No! It was a porcelain owl.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.31.0110311404580.17249-100000>