# HG changeset patch # User Paul Boddie # Date 1676569481 -3600 # Node ID 8d5e22dc717acd4b237427c612ead6efeb4bac19 # Parent 269fcdd3a413f29cacfaff4e6f1e4f50078cc7de Added client_reopen function details. diff -r 269fcdd3a413 -r 8d5e22dc717a docs/wiki/Client_Library --- a/docs/wiki/Client_Library Tue Feb 14 23:36:10 2023 +0100 +++ b/docs/wiki/Client_Library Thu Feb 16 18:44:41 2023 +0100 @@ -59,6 +59,13 @@ file_t *client_open(const char *name, flags_t flags); }}} +New instances of open files, employing potentially different flags, can be +obtained using the following function: + +{{{ +file_t *client_reopen(file_t *file, flags_t flags); +}}} + To test whether the file was successfully open, the following function should be invoked, this returning a true (non-zero) value if the file was successfully opened: