summaryrefslogtreecommitdiff
path: root/string/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'string/string.h')
-rw-r--r--string/string.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/string/string.h b/string/string.h
index 8b9fd5c359..a8b34b2b33 100644
--- a/string/string.h
+++ b/string/string.h
@@ -238,6 +238,14 @@ extern __ptr_t memfrob __P ((__ptr_t __s, size_t __n));
extern char *basename __P ((__const char *__filename));
#endif
+#ifdef __USE_SVID
+/* Swab pairs bytes in the first N bytes of the area pointed to by
+ FROM and copy the result to TO. The value of TO must not be in the
+ range [FROM - N + 1, FROM - 1]. If N is odd the first byte in FROM
+ is without partner. */
+extern void swab __P ((__const char *__from, __const char *__to, size_t __n));
+#endif
+
__END_DECLS
#endif /* string.h */