diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-03-02 23:49:35 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-03-02 23:49:35 +0100 |
| commit | f1c9b198bba52d19a840efc7a77a9752d711ee57 (patch) | |
| tree | 90ec58fa6e6ab849ae86ac39215588698feaa972 /FL | |
| parent | 4ccadff4b9120cba114da964fd0e79c762a6fd3d (diff) | |
Promote fl_strlcpy to <FL/fl_string_functions.h>
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/fl_string_functions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FL/fl_string_functions.h b/FL/fl_string_functions.h index 16e7a5ada..b88dc4973 100644 --- a/FL/fl_string_functions.h +++ b/FL/fl_string_functions.h @@ -28,6 +28,8 @@ extern "C" { #endif +#include <stddef.h> // size_t + /** \defgroup fl_string String handling functions String handling functions declared in <FL/fl_string_functions.h> @{ @@ -35,6 +37,8 @@ extern "C" { FL_EXPORT char* fl_strdup(const char *s); +FL_EXPORT size_t fl_strlcpy(char *, const char *, size_t); + /** @} */ #ifdef __cplusplus |
