OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tmpfname
(Results
1 - 3
of
3
) sorted by relevancy
/src/usr.bin/sed/
main.c
125
static char
tmpfname
[PATH_MAX]; /* Temporary file name (for in-place editing) */
variable
386
if (*
tmpfname
)
387
unlink(
tmpfname
);
392
if (*
tmpfname
!= '\0') {
396
unlink(
tmpfname
);
400
if (rename(
tmpfname
, fname) != 0) {
403
unlink(
tmpfname
);
406
*
tmpfname
= '\0';
437
len = (size_t)snprintf(
tmpfname
, sizeof(
tmpfname
),
[
all
...]
/src/external/bsd/openldap/dist/clients/tools/
ldapsearch.c
1947
char
tmpfname
[ 256 ];
local
2002
snprintf(
tmpfname
, sizeof
tmpfname
,
2007
tmpfd = mkstemp(
tmpfname
);
2010
perror(
tmpfname
);
2015
perror(
tmpfname
);
2022
perror(
tmpfname
);
2030
&
tmpfname
[strlen(tmpdir) + sizeof(LDAP_DIRSEP) - 1] );
/src/external/bsd/openldap/dist/servers/slapd/back-ldif/
ldif.c
551
char *entry_as_string, *
tmpfname
;
local
566
tmpfname
= ldif_tempname( path );
567
fd =
tmpfname
== NULL ? -1 : mkstemp(
tmpfname
);
604
if ( move_file(
tmpfname
, path->bv_val ) == 0 ) {
617
"write error to",
tmpfname
, AC_STRERROR_R( save_errno, ebuf, sizeof(ebuf) ) );
622
unlink(
tmpfname
);
626
if (
tmpfname
)
627
SLAP_FREE(
tmpfname
);
Completed in 20 milliseconds
Indexes created Fri Sep 25 00:27:33 UTC 2026