navigator_open_file()
Open a file in the navigator.
Synopsis:
#include <bps/navigator.h>
BPS_API int navigator_open_file(const char *filepath, char **err)
Arguments:
- filepath
-
The path of the file to open.
- err
-
If this function fails, and if err is not null, it will be set to a short description of the error. The caller must free this buffer using bps_free().
Library:
libbpsDescription:
The navigator_open_file() function sends a navigator openFile request to open the specified file in the navigator.
Returns:
BPS_SUCCESS upon success, BPS_FAILURE upon failure with a short description of the error in err.