>>>>> "James" == James Howard <[EMAIL PROTECTED]> writes:

    James> mkstemp() returns an integer file descriptor whereas normal
    James> people use FILE * pointers, including the author of this
    James> port.  How about an mkftemp() which wraps around mkstemp()
    James> and does an fdopen()?

Is it that much work to add

   if ((stream=fdopen(fd, mode)) == NULL)
      err(...);

after a mkstemp call? If you use it that much you can define a function
in your application. There's no need to add a non-portable routine
to libc for this.

--lyndon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to