Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2000 14:49:28 -0400
From:      James Howard <howardjp@wam.umd.edu>
To:        freebsd-hackers@freebsd.org
Subject:   mktemp() vs. mkstemp()
Message-ID:  <200005141849.OAA21071@rac10.wam.umd.edu>

next in thread | raw e-mail | index | archive | help
I was preparing a port which uses mktemp().  Of course, the linker
complained and suggested using mkstemp().   Except mkstemp() returns an
integer file descriptor whereas normal people use FILE * pointers,
including the author of this port.  How about an mkftemp() which wraps
around mkstemp() and does an fdopen()?  

Jamie


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




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