NAME
set_no_overwrite - Sets the current behavior regarding clobbering files
SYNOPSIS
#include "l/l_io.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
void set_no_overwrite(int no_overwrite);
DESCRIPTION
The routine sets the "no overwrite" action. The default value is 0 which
means that files are over-written. If the value is not zero, then routines
that write to a file as a complete operation and which consult this module
will not over write an existing file. By convention, if the value is 1, then
the abort from writing is silent, if the value is 2, then a warning message
is printed.
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
set_program_prompt
,
kjb_query
,
print_blanks
,
rep_print
,
count_real_lines
,
count_data_lines_until_next_header
,
count_tokens_in_file
,
get_real_line
,
string_count_real_lines
,
string_get_real_line
,
get_command_text
,
add_line_to_input_stream
,
read_int_from_file
,
read_dbl_from_file
,
push_no_overwrite
,
pop_no_overwrite
,
get_no_overwrite