merge from gcc
[deliverable/binutils-gdb.git] / include / libiberty.h
index d2a8a0b9ef7fbb1f94d33376181cd27b31e99571..49a2fb6fd526172810405938ce972c9bedfc6626 100644 (file)
@@ -255,6 +255,10 @@ extern PTR xcalloc PARAMS ((size_t, size_t)) ATTRIBUTE_MALLOC;
 
 extern char *xstrdup PARAMS ((const char *)) ATTRIBUTE_MALLOC;
 
+/* Copy at most N characters from string into a buffer without fail.  */
+
+extern char *xstrndup PARAMS ((const char *, size_t)) ATTRIBUTE_MALLOC;
+
 /* Copy an existing memory buffer to a new memory buffer without fail.  */
 
 extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC;
This page took 0.024046 seconds and 4 git commands to generate.