HomeSort by: relevance | last modified time | path
    Searched defs:tmpfile (Results 1 - 25 of 65) sorted by relevancy

1 2 3

  /src/lib/libc/stdio/
tmpfile.c 1 /* $NetBSD: tmpfile.c,v 1.12 2012/03/15 18:22:30 christos Exp $ */
38 static char sccsid[] = "@(#)tmpfile.c 8.1 (Berkeley) 6/4/93";
40 __RCSID("$NetBSD: tmpfile.c,v 1.12 2012/03/15 18:22:30 christos Exp $");
55 tmpfile(void) function
  /src/external/ibm-public/postfix/dist/src/local/
maildir.c 86 char *tmpfile; local
188 tmpfile = concatenate(tmpdir, STR(buf), (char *) 0);
190 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
193 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
195 "create maildir file %s: %m", tmpfile);
203 msg_fatal("fstat %s: %m", tmpfile);
215 if (sane_link(tmpfile, newfile) < 0
218 || sane_link(tmpfile, newfile) < 0)) {
224 if (unlink(tmpfile) < 0)
225 msg_warn("remove %s: %m", tmpfile);
    [all...]
  /src/external/ibm-public/postfix/dist/src/virtual/
maildir.c 81 char *tmpfile; local
182 tmpfile = concatenate(tmpdir, STR(buf), (char *) 0);
184 if ((dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0
187 || (dst = vstream_fopen(tmpfile, O_WRONLY | O_CREAT | O_EXCL, 0600)) == 0)) {
189 "create maildir file %s: %m", tmpfile);
197 msg_fatal("fstat %s: %m", tmpfile);
209 if (sane_link(tmpfile, newfile) < 0
212 || sane_link(tmpfile, newfile) < 0)) {
218 if (unlink(tmpfile) < 0)
219 msg_warn("remove %s: %m", tmpfile);
    [all...]
  /src/external/cddl/osnet/lib/libzfs/
fsshare.c 151 char tmpfile[PATH_MAX]; local
163 if (strlcpy(tmpfile, file, sizeof(tmpfile)) >= sizeof(tmpfile))
165 if (strlcat(tmpfile, ".XXXXXXXX", sizeof(tmpfile)) >= sizeof(tmpfile))
167 fd = mkstemp(tmpfile);
218 unlink(tmpfile);
220 if (rename(tmpfile, file) == -1)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_libc_test.cc 107 char tmpfile[128]; local
108 temp_file_name(tmpfile, sizeof(tmpfile), "sanitizer_common.fileops.tmp.");
109 fd_t fd = OpenFile(tmpfile, WrOnly);
114 fd = OpenFile(tmpfile, WrOnly);
126 EXPECT_TRUE(FileExists(tmpfile));
128 fd = OpenFile(tmpfile, RdOnly);
137 EXPECT_EQ(0u, internal_stat(tmpfile, &st1));
138 EXPECT_EQ(0u, internal_lstat(tmpfile, &st2));
164 Unlink(tmpfile);
289 char tmpfile[128]; local
    [all...]
  /src/external/bsd/dhcpcd/dist/src/
script.c 259 char tmpfile[] = "/tmp/dhcpcd-script-env-XXXXXX"; local
263 tmpfd = mkstemp(tmpfile);
268 unlink(tmpfile);
  /src/external/gpl2/xcvs/dist/src/
import.c 79 char *tmpfile; local
360 if ((logfp = cvs_temp_file (&tmpfile)) == NULL)
361 error (1, errno, "cannot create temporary file `%s'", tmpfile);
366 (void) CVS_UNLINK (tmpfile);
441 error (0, errno, "error closing %s", tmpfile);
445 if (CVS_UNLINK (tmpfile) < 0 && !existence_error (errno))
446 error (0, errno, "cannot remove %s", tmpfile);
447 free (tmpfile);
  /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/armeb/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/hppa/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/i386/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/ia64/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/m68k/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/mips64eb/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/mips64el/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/mipseb/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/mipsel/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64eb/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/powerpc/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]
  /src/external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/
stdio.h 1909 # define tmpfile rpl_tmpfile
1911 _GL_FUNCDECL_RPL (tmpfile, FILE *, (void)
1913 _GL_CXXALIAS_RPL (tmpfile, FILE *, (void));
1916 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1917 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void)
1920 _GL_CXXALIAS_SYS (tmpfile, FILE *, (void));
1923 _GL_CXXALIASWARN (tmpfile);
1926 # if 0 && __GNUC__ >= 11 && !defined tmpfile
1927 /* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */
1928 _GL_FUNCDECL_SYS (tmpfile, FILE *, (void
1932 # undef tmpfile macro
    [all...]

Completed in 107 milliseconds

1 2 3