3 * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
4 * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
10 #include <ac/string.h>
14 #include <ldap_defaults.h>
16 char* lutil_progname( const char* name, int argc, char *argv[] )
21 return ber_strdup( name );
24 progname = strrchr ( argv[0], *LDAP_DIRSEP );
25 progname = ber_strdup( progname ? &progname[1] : argv[0] );
31 int mkstemp( char * template )