NAME
get_temp_file_name - Finds an appropriate name for a temp file
SYNOPSIS
#include "l/l_sys_lib.h"
Example compile flags (system dependent):
-DLINUX_386 -DLINUX_386_P4
-I/home/kobus/include
-L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
-lKJB -llapack -lblas -lg2c -lXext -lX11
int get_temp_file_name
(
char *temp_name,
size_t max_len
);
DESCRIPTION
This routine is essentially a replacement for tmpnam(3C), but the name
includes the user name, which helps debugging. In addition, the error
messages are better and error handling is consistent with the rest of the KJB
library.
MACROS
BUFF_GET_TEMP_NAME
SEEALSO
BUFF_GET_TEMP_NAME
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTOR
Kobus Barnard
SEE ALSO
is_interactive
,
get_user_id
,
get_group
,
kjb_get_env
,
create_system_command_process
,
kjb_system
,
kjb_exec
,
kjb_waitpid
,
kjb_waitpid2
,
check_child
,
check_child2
,
add_cleanup_function
,
kjb_cleanup
,
kjb_cleanup_for_abort
,
kjb_abort
,
kjb_exit
,
kjb_exit_2
,
terminate_child_process
,
process_is_alive
,
get_idle_time
,
kjb_fork