tmpfile

TMPFILE(3)                 Linux Programmer's Manual                TMPFILE(3)



åå
       tmpfile - ãã³ãã©ãªãã¡ã¤ã«ãä½æãã

æ¸å¼
       #include <stdio.h>

       FILE *tmpfile (void);

説æ
       tmpfile()é¢æ°ã¯<stdio.h>ã§å®ç¾©ããã¦ãã
       P_tmpdirããã¹ã®åé ã«ä½¿ã£ãã¦ãã¼ã¯ãªãã¡ã¤ã«ãä½æããã
       ãã³ãã©ãªãã¡ã¤ã«ã¯ãã¤ããªãªã¼ãã©ã¤ãã¢ã¼ã(w+b)㧠ä½æãããã ãã®ãã¡ã¤ã«ã¯ã¯ã‐
       ã¼ãºæã¾ãã¯ããã°ã©ã ã®çµäºæã«èªåçã«åé¤ãããã

è¿ãå¤
       tmpfile()é¢æ°ã¯ãã¡ã¤ã«ãã¤ã³ã¿ãè¿ããã
       ã¦ãã¼ã¯ãªãã¡ã¤ã«ãä½ããªãã£ãããªã¼ãã³ã§ããªãã£ãå ´å㯠NULLãè¿ãã

ã¨ã©ã¼
       EACCES ãã¡ã¤ã«ã®ãããã£ã¬ã¯ããªã«ãµã¼ãã®ã¢ã¯ã»ã¹æ¨©(search
              permission)ããªãã

       EEXIST ã¦ãã¼ã¯ãªãã¡ã¤ã«åãä½æã§ããªãã£ãã

       EMFILE 1ã¤ã®ããã»ã¹ã§ä½¿ç¨å¯è½ãªãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿æ°ãè¶éããã

       ENFILE ã·ã¹ãã å¨ä½ã§ãªã¼ãã³å¯è½ãªãã¡ã¤ã«æ°ãè¶éããã

       EROFS  èªã¿ã ãå°ç¨ãã¡ã¤ã«ã·ã¹ãã ã§ããã

æºæ
       SVID 3, POSIX, BSD 4.3, ISO 9899

é¢é£é ç®
       mktemp(3), mkstemp(3), tmpnam(3), tempnam(3)





GNU                              April 3, 1993                      TMPFILE(3)