diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-01-08 19:43:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-08 19:43:31 +0100 |
| commit | 7d167b3cf1758f91f430379f40f816c28ebd0518 (patch) | |
| tree | 99e41c8f421201a1474a21ac5521afe3e73e8cd3 /src/fl_utf8.cxx | |
| parent | 1324c623fe768289beb3a6bb85fe0c859628714a (diff) | |
FLUID: add drag'n'drop for images (#642)
FLUID dnd for desktop images into the design
Documentation for fl_access
Diffstat (limited to 'src/fl_utf8.cxx')
| -rw-r--r-- | src/fl_utf8.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/fl_utf8.cxx b/src/fl_utf8.cxx index fcbb63ee0..72589c8e7 100644 --- a/src/fl_utf8.cxx +++ b/src/fl_utf8.cxx @@ -449,8 +449,14 @@ int fl_chmod(const char* f, int mode) { /** Cross-platform function to test a files access() with a UTF-8 encoded name or value. - This function is especially useful on the Windows platform where the - standard access() function fails with UTF-8 encoded non-ASCII filenames. + This function is especially useful on the Windows platform where the + standard access() function fails with UTF-8 encoded non-ASCII filenames. + + Windows defines the mode values 0 for existence, 2 for writable, 4 for + readable, and 6 of readable and writable. On other systems, the modes + `X_OK`, `W_OK`, and `R_OK` are usually defined as 1, 2, and 4. + + Upon successful completion, the value 0 is returned on all platforms. \param[in] f the UTF-8 encoded filename \param[in] mode the mode to test |
