* Add prototype for strlcpy

Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Philip Gladstone 2002-05-10 02:16:29 +00:00
parent ccac2e27f1
commit 283383715f
1 changed files with 2 additions and 0 deletions

View File

@ -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);
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);
void register_all(void);