]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/strlcpy.c
Add CAP_FCNTL and use cap_fcntls_limit().
[tcpdump] / missing / strlcpy.c
index dec09fe70563e77a53d36150e1ded6300bd84dbe..b0671ebd311b648e160dc5e4293879e39ee58b13 100644 (file)
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-
 #ifdef HAVE_CONFIG_H 
 #include <config.h>
 #endif
 
 #include <tcpdump-stdinc.h>
 
+#include <string.h>
 
 #include "interface.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.4 2003-11-15 00:39:48 guy Exp $ (LBL)";
-#endif
-
-#include <string.h>
-
 /*
  * Copy src to string dst of size siz.  At most siz-1 characters
  * will be copied.  Always NUL terminates (unless siz == 0).