From 283383715f5399db2f7e6182f70268c07ff55a90 Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Fri, 10 May 2002 02:16:29 +0000 Subject: * Add prototype for strlcpy Originally committed as revision 480 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libav/avformat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libav') diff --git a/libav/avformat.h b/libav/avformat.h index e17c7a514b..10de1f8c2c 100644 --- a/libav/avformat.h +++ b/libav/avformat.h @@ -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); -- cgit v1.2.3