Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The open flags param to mkostemps() should be "flags" not "oflags" | 2014-10-26 | 1 | -3/+3 | |
| | | | | for consistency with the rest of the manual. | ||||
* | provide section numbers for xrs; | 2014-08-31 | 1 | -2/+2 | |
| | |||||
* | Add additional userland interfaces for setting close-on-exec on fds | 2014-08-31 | 1 | -33/+115 | |
| | | | | | | | | | | | | | when creating them: mkostemp(), mkostemps(), the 'e' mode letter for fopen(), freopen(), fdopen(), and popen(). The close-on-exec flag will be cleared by the action created by posix_spawn_file_actions_adddup2(). Also, add support for the C11 'x' mode letter for fopen() and freopen(), setting O_EXCL when possibly creating files. Note: this requires kernel support for pipe2() and dup3()! ok millert@ | ||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | 2013-06-05 | 1 | -3/+3 | |
| | |||||
* | Return EINVAL if there are fewer than six template Xs in the path. | 2013-03-12 | 1 | -17/+21 | |
| | | | | ok deraadt@ millert@ | ||||
* | Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(), | 2012-06-01 | 1 | -2/+10 | |
| | | | | | | | and valloc() are not in the current version, while posix_memalign() mkstemp(), and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'. ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@ | ||||
* | tweak previous; ok millert | 2011-01-10 | 1 | -3/+4 | |
| | |||||
* | mkdtemp() is present in POSIX 1003.1-2008 | 2011-01-10 | 1 | -11/+9 | |
| | | | | Add a warning about using less than 6 Xs causing an error on some systems | ||||
* | mktemp(3) can be used, but not where mkstemp(3) is an alternative. Also | 2011-01-07 | 1 | -6/+6 | |
| | | | | | | trim an inaccurate comment about its future removal. ok deraadt | ||||
* | mktemp(3) (and thus mktemp(1)) no longer use the process ID when | 2010-12-27 | 1 | -3/+2 | |
| | | | | | | replacing the Xs, it is now purely random. Also replace a use of .Fn that should be .Xr. OK jmc@ | ||||
* | Various improvements, mainly regarding ERRORS. | 2010-03-22 | 1 | -40/+39 | |
| | | | | | | | | | | | | | * Document EINVAL and EEXIST. * Neither mkstemp nor mkdtemp use lstat, but mktemp does. * Documenting ENOTDIR is useless, it is documented in lstat(2), mkdir(2) and open(2), and it's just one thing out of several that could go wrong. * Refer to lstat(2) instead of stat(2), which is actually used here. * State that two of these functions are standardized in the XPG. * Move the sentence about mkdtemp and mkstemps to the new STANDARDS section. * Get rid of the ugly ".So Li X Sc Ns s", just use "Xs" (suggested by jmc@). tweaks and ok jmc@ millert@ | ||||
* | Update to match mktemp.c changes | 2009-03-01 | 1 | -4/+4 | |
| | |||||
* | The process number is longer used to replace trailing 'Xs'. | 2009-01-10 | 1 | -4/+3 | |
| | | | | ok jmc, millert | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | grammar, | 2007-05-10 | 1 | -2/+2 | |
| | | | | okay jmc@ | ||||
* | fix the mkstemps .Fn; | 2006-01-06 | 1 | -2/+2 | |
| | |||||
* | in code fragment: | 2006-01-06 | 1 | -14/+14 | |
| | | | | | | | | | | | - allocate enough space for sfn. - remove variable initializations that get overwritten anyway. - change spaces to tabs. - change "sizeof sfn" to "sizeof(sfn)". - change fprintf(stderr) to warn(). from ray lai; ok millert | ||||
* | - typos, punctuation, spacing, macro, layout, etc. fixes | 2005-07-26 | 1 | -6/+5 | |
| | | | | | | - avoid first person ok jmc | ||||
* | note error return of mkstemps; ok millert, jmc | 2005-07-26 | 1 | -3/+5 | |
| | |||||
* | mktemp(3) et al. go in stdlib.h, not unistd.h. While there be more | 2005-05-27 | 1 | -11/+27 | |
| | | | | explicit about mktemp(3) in the man page. | ||||
* | typo; | 2003-10-17 | 1 | -2/+2 | |
| | |||||
* | nonstandard->non-standard | 2003-07-02 | 1 | -2/+2 | |
| | | | | jmc@ ok | ||||
* | 6 X's -> 10 X's in all examples, per avsm's idea, millert agrees | 2003-07-02 | 1 | -4/+4 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | - section reorder | 2003-06-01 | 1 | -88/+88 | |
| | | | | | - kill unnecessary .Ns macros - add some man page section numbers to .Xr's | ||||
* | typos; | 2003-05-03 | 1 | -2/+2 | |
| | |||||
* | fifo -> FIFO | 2003-04-02 | 1 | -2/+2 | |
| | | | | ok millert@ | ||||
* | .Xr's; | 2003-03-06 | 1 | -2/+2 | |
| | | | | | | typos in man page section ok deraadt@ | ||||
* | teach people about strlcpy, not strcpy | 2003-02-16 | 1 | -2/+2 | |
| | |||||
* | Various repairs, mostly to get rid of short lines. | 2000-12-24 | 1 | -6/+4 | |
| | |||||
* | use strlcpy in the example | 2000-11-22 | 1 | -2/+2 | |
| | |||||
* | The mkstemp() function appeared in 4.4BSD; todd@ | 2000-09-11 | 1 | -2/+5 | |
| | |||||
* | Flesh out all of the stdio man pages. | 2000-04-20 | 1 | -21/+13 | |
| | |||||
* | Repairs, mostly removing hard sentence breaks. | 2000-04-18 | 1 | -3/+3 | |
| | |||||
* | repair nroff botch | 2000-01-27 | 1 | -3/+3 | |
| | |||||
* | Use .Va macro when referring to the global variable errno. | 2000-01-22 | 1 | -3/+5 | |
| | |||||
* | Tidying and spelling | 1999-09-14 | 1 | -13/+18 | |
| | |||||
* | paste'o away! | 1999-08-11 | 1 | -3/+3 | |
| | |||||
* | some NAME section cleanup | 1999-06-06 | 1 | -3/+6 | |
| | |||||
* | kill some old macros | 1999-05-25 | 1 | -2/+2 | |
| | |||||
* | Cleanup xrefs under SEE ALSO. Specifically: | 1999-05-16 | 1 | -3/+3 | |
| | | | | | | | - Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries. | ||||
* | more | 1998-12-15 | 1 | -7/+22 | |
| | |||||
* | flesh out this man page with some examples | 1998-12-15 | 1 | -1/+64 | |
| | |||||
* | add mkstemp(char *template, int suffixlen) interface | 1998-06-30 | 1 | -2/+33 | |
| | |||||
* | oops | 1998-03-16 | 1 | -2/+2 | |
| | |||||
* | explain security considerations in some detail | 1998-03-12 | 1 | -2/+26 | |
| | |||||
* | at least 6 X, 10 is better | 1998-03-09 | 1 | -1/+4 | |
| | |||||
* | .Bx Open -> .Ox 2.x | 1998-03-07 | 1 | -3/+2 | |
| | |||||
* | Mention that mkdtemp() is not portable. | 1998-02-23 | 1 | -2/+15 | |
| | |||||
* | 1) Don't truncate the input string when a directory cannot be stat'd | 1997-10-07 | 1 | -3/+1 | |
| | | | | | 2) Use traditional mktemp(3) semantics. Don't return an error if directories in the path don't exist yet for mktemp(3) only. |