#include <linux/types.h>
/**
- * simple_strtoul - convert a string to an unsigned long
+ * simple_strtoul() - convert a string to an unsigned long
*
* @cp: The string to be converted
* @endp: Updated to point to the first character not converted
ulong simple_strtoul(const char *cp, char **endp, unsigned int base);
/**
- * hex_strtoul - convert a string in hex to an unsigned long
+ * hex_strtoul() - convert a string in hex to an unsigned long
*
* @cp: The string to be converted
* @endp: Updated to point to the first character not converted
unsigned long hextoul(const char *cp, char **endp);
/**
- * hex_strtoull - convert a string in hex to an unsigned long long
+ * hex_strtoull() - convert a string in hex to an unsigned long long
*
* @cp: The string to be converted
* @endp: Updated to point to the first character not converted
unsigned long long hextoull(const char *cp, char **endp);
/**
- * dec_strtoul - convert a string in decimal to an unsigned long
+ * dec_strtoul() - convert a string in decimal to an unsigned long
*
* @cp: The string to be converted
* @endp: Updated to point to the first character not converted
unsigned long dectoul(const char *cp, char **endp);
/**
- * strict_strtoul - convert a string to an unsigned long strictly
+ * strict_strtoul() - convert a string to an unsigned long strictly
* @cp: The string to be converted
* @base: The number base to use (0 for the default)
* @res: The converted result value
*
*/
int strict_strtoul(const char *cp, unsigned int base, unsigned long *res);
+
unsigned long long simple_strtoull(const char *cp, char **endp,
unsigned int base);
long simple_strtol(const char *cp, char **endp, unsigned int base);
void panic_str(const char *str) __attribute__ ((noreturn));
/**
- * Format a string and place it in a buffer
+ * sprintf() - Format a string and place it in a buffer
*
* @buf: The buffer to place the result into
* @fmt: The format string to use
__attribute__ ((format (__printf__, 2, 3)));
/**
- * Format a string and place it in a buffer (va_list version)
+ * vsprintf() - Format a string and place it in a buffer (va_list version)
*
* @buf: The buffer to place the result into
* @fmt: The format string to use
char *simple_xtoa(ulong num);
/**
- * Format a string and place it in a buffer
+ * scnprintf() - Format a string and place it in a buffer
*
* @buf: The buffer to place the result into
* @size: The size of the buffer, including the trailing null space
__attribute__ ((format (__printf__, 3, 4)));
/**
- * Format a string and place it in a buffer (base function)
+ * vsnprintf() - Format a string and place it in a buffer (base function)
*
* @buf: The buffer to place the result into
* @size: The size of the buffer, including the trailing null space
int vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
/**
- * Format a string and place it in a buffer (va_list version)
+ * vscnprintf() - Format a string and place it in a buffer (va_list version)
*
* @buf: The buffer to place the result into
* @size: The size of the buffer, including the trailing null space
void str_free_list(const char **ptr);
/**
- * vsscanf - Unformat a buffer into a list of arguments
+ * vsscanf() - Unformat a buffer into a list of arguments
* @inp: input buffer
* @fmt0: format of buffer
* @ap: arguments
int vsscanf(const char *inp, char const *fmt0, va_list ap);
/**
- * sscanf - Unformat a buffer into a list of arguments
+ * sscanf() - Unformat a buffer into a list of arguments
* @buf: input buffer
* @fmt: formatting of buffer
* @...: resulting arguments