1hdf_write_file_atomic(3) util/neo_hdf.h hdf_write_file_atomic(3)
2
3
4
6 hdf_write_file_atomic - write an HDF data file atomically
7
9 #include <util/neo_hdf.h>
10
11
12 NEOERR* hdf_write_file_atomic (HDF *hdf, const char *path);
13
14
15
16
18 hdf_write_file_atomic is similar to hdf_write_file, except the new file
19 is created with a unique name and then rename(2) is used to atomically
20 replace the old file with the new file Input: Output:
21
22
24 hdf_set_symlink(3), hdf_get_valuef(3), compareFunc)[22m(3),
25 hdf_read_string(3), hdf_obj_value(3), hdf_get_node(3), hdf_set_val‐
26 uevf(3), hdf_sort_obj(3), hdf_write_file_atomic(3), hdf_obj_attr(3),
27 hdf_set_valuef(3), hdf_search_path(3), hdf_set_attr(3),
28 hdf_dump_str(3), hdf_get_int_value(3), hdf_read_string_ignore(3),
29 hdf_get_copy(3), hdf_copy(3), hdf_write_file(3), hdf_get_valuevf(3),
30 hdf_set_value(3), hdf_set_int_value(3), hdf_dump(3), hdf_get_value(3),
31 hdf_set_copy(3), hdf_obj_child(3), hdf_obj_next(3), hdf_set_buf(3),
32 hdf_write_string(3), hdf_get_obj(3), hdf_get_attr(3), hdf_regis‐
33 ter_fileload(3), hdf_obj_name(3), hdf_obj_top(3), hdf_dump_format(3),
34 hdf_get_child(3), hdf_destroy(3), hdf_remove_tree(3), hdf_init
35
36
37
38ClearSilver 14 November 2006 hdf_write_file_atomic(3)