Searched refs:newfd (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s12/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c344 int newfd; local
348 newfd = open(new_name, O_WRONLY | O_CREAT | O_EXCL, 0600);
349 if (newfd == -1) {
353 *newp = fdopen(newfd, "w");
356 close(newfd);

Completed in 10 milliseconds