Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 1998 10:40:03 -0700 (PDT)
From:      Bill Fenner <fenner@parc.xerox.com>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/4599 
Message-ID:  <199806081740.KAA11317@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4599; it has been noted by GNATS.

From: Bill Fenner <fenner@parc.xerox.com>
To: Heikki Suonsivu <hsu@clinet.fi>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: bin/4599 
Date: Mon, 8 Jun 1998 10:36:40 PDT

 I dunno how relevant the Open Group's "Single UNIX ® Specification,
 Version 2" is as a standards document, but it simply says that mktemp()
 takes an argument with 6 X's in it and replaces each X with a single
 byte character from the portable filename character set.
 
 It does say, however, "If a unique name cannot be created, [mktemp
 returns] a null string"; ("null string" means "", not NULL).  Although
 mktemp() clearly needs to read the directory in order to ensure that
 the name is unique, it's also fairly clear that if the directory
 doesn't exist then the name is unique.
 
   Bill

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806081740.KAA11317>