Skip to content
Snippets Groups Projects
Commit 28338371 authored by Philip Gladstone's avatar Philip Gladstone
Browse files

* Add prototype for strlcpy

Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ccac2e27
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,8 @@ AVFormat *guess_format(const char *short_name, const char *filename, const char ...@@ -178,6 +178,8 @@ AVFormat *guess_format(const char *short_name, const char *filename, const char
int strstart(const char *str, const char *val, const char **ptr); int strstart(const char *str, const char *val, const char **ptr);
void nstrcpy(char *buf, int buf_size, const char *str); void nstrcpy(char *buf, int buf_size, const char *str);
/* This does what strncpy ought to do. */
void strlcpy(char *dst, const char *src, int dst_size);
int match_ext(const char *filename, const char *extensions); int match_ext(const char *filename, const char *extensions);
void register_all(void); void register_all(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment