Searched refs:tmpfname (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/cmd/ldap/common/
H A Dldapsearch.c947 char *a, *dn, *ufn, tmpfname[ BUFSIZ ]; local
1017 if ( snprintf( tmpfname, sizeof(tmpfname),
1020 perror( gettext("snprintf tmpfname (attribute name too long?)") );
1024 sprintf( tmpfname, "%s/ldapsearch-%s-XXXXXX",
1029 if ( LDAPTOOL_MKTEMP( tmpfname ) == NULL ) {
1030 perror( tmpfname );
1031 } else if (( tmpfp = ldaptool_open_file( tmpfname, mode)) == NULL ) {
1032 perror( tmpfname );
1036 perror( tmpfname );
[all...]
/osnet-11/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpm_specific.c300 char *tmpfname; local
314 tmpfname = tempnam("/tmp", "tpmtok");
315 newfp = fopen(tmpfname, "w+");
317 free(tmpfname);
332 if (local_copy_file(fname, tmpfname) == 0)
333 (void) unlink(tmpfname);
335 free(tmpfname);

Completed in 29 milliseconds