From 2747693fdb5aa334d8b00a04ed81d2234d710ba9 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 27 Jan 2024 02:14:19 -0500 Subject: acpi + lib --- include/lib.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/lib.h (limited to 'include/lib.h') diff --git a/include/lib.h b/include/lib.h new file mode 100644 index 0000000..4271aa5 --- /dev/null +++ b/include/lib.h @@ -0,0 +1,12 @@ + +/** + * The strcmp() function compares the two strings s1 and s2. The locale is not taken into account + * (for a locale-aware comparison, see strcoll(3)). The comparison is done using unsigned characters. + */ +int strncmp(const char *s1, const char *s2, unsigned long n); + +/** + * The memcmp() function compares the first n bytes (each interpreted as unsigned char) of the memory + * areas s1 and s2. + */ +int memcmp(const void *s1, const void *s2, unsigned long n); -- cgit v1.2.3-freya