Re: [PATCH] environ.7: Fix name of function that honors TMPDIR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/08/2017 06:11 PM, Jakub Wilk wrote:
> tempnam() takes the TMPDIR environment variable into account, unlike
> tmpnam(), which always creates pathnames within /tmp.

Thnaks, Jakub. Applied.

Cheers,

Michael


> Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx>
> ---
>  man7/environ.7 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man7/environ.7 b/man7/environ.7
> index a6b4fc14d..366a1e017 100644
> --- a/man7/environ.7
> +++ b/man7/environ.7
> @@ -186,7 +186,7 @@ and
>  .IP *
>  .B TMPDIR
>  influences the path prefix of names created by
> -.BR tmpnam (3)
> +.BR tempnam (3)
>  and other routines, and the temporary directory used by
>  .BR sort (1)
>  and other programs.
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux