FreeBSD kernel pms device code
osstring.h File Reference
#include <sys/libkern.h>
#include <sys/syslimits.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/ctype.h>
Include dependency graph for osstring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define osti_memcmp(s1, s2, n)   memcmp((void *)s1, (void *)s2, (size_t)n)
 
#define osti_memcpy(des, src, n)   memcpy((void *)des, (void *)src, (size_t)n)
 
#define osti_memset(s, c, n)   memset((void *)s, (int)c, (size_t)n)
 
#define osti_strcat(des, src)   strcat((char *)des, (char *)src)
 
#define osti_strchr(s, n)   strchr((char *)s, (int)n)
 
#define osti_strcmp(s1, s2)   strcmp((char *)s1, (char *)s2)
 
#define osti_strcpy(des, src)   strcpy((char *)des, (char *)src)
 
#define osti_strlen(s)   strlen((char *)s)
 
#define osti_strncmp(s1, s2, n)   strncmp((char *)s1, (char *)s2, (size_t)n)
 
#define osti_strncpy(des, src, n)   strncpy((char *)des, (char *)src, (size_t)n)
 
#define osti_strstr(s1, s2)   strstr((char *)s1, (char *)s2)
 
#define osti_strtoul(nptr, endptr, base)    strtoul((char *)nptr, (char **)endptr, 0)
 
#define osti_isxdigit(c)   isxdigit(c)
 
#define osti_isdigit(c)   isdigit(c)
 
#define osti_islower(c)   islower(c)
 
#define osMemCpy(des, src, n)   memcpy((void *)des, (void *)src, (size_t)n)
 
#define osMemSet(s, c, n)   memset((void *)s, (int)c, (size_t)n)
 

Macro Definition Documentation

◆ osMemCpy

#define osMemCpy (   des,
  src,
 
)    memcpy((void *)des, (void *)src, (size_t)n)

Definition at line 82 of file osstring.h.

◆ osMemSet

#define osMemSet (   s,
  c,
 
)    memset((void *)s, (int)c, (size_t)n)

Definition at line 83 of file osstring.h.

◆ osti_isdigit

#define osti_isdigit (   c)    isdigit(c)

Definition at line 79 of file osstring.h.

◆ osti_islower

#define osti_islower (   c)    islower(c)

Definition at line 80 of file osstring.h.

◆ osti_isxdigit

#define osti_isxdigit (   c)    isxdigit(c)

Definition at line 78 of file osstring.h.

◆ osti_memcmp

#define osti_memcmp (   s1,
  s2,
 
)    memcmp((void *)s1, (void *)s2, (size_t)n)

Definition at line 63 of file osstring.h.

◆ osti_memcpy

#define osti_memcpy (   des,
  src,
 
)    memcpy((void *)des, (void *)src, (size_t)n)

Definition at line 64 of file osstring.h.

◆ osti_memset

#define osti_memset (   s,
  c,
 
)    memset((void *)s, (int)c, (size_t)n)

Definition at line 65 of file osstring.h.

◆ osti_strcat

#define osti_strcat (   des,
  src 
)    strcat((char *)des, (char *)src)

Definition at line 66 of file osstring.h.

◆ osti_strchr

#define osti_strchr (   s,
 
)    strchr((char *)s, (int)n)

Definition at line 67 of file osstring.h.

◆ osti_strcmp

#define osti_strcmp (   s1,
  s2 
)    strcmp((char *)s1, (char *)s2)

Definition at line 68 of file osstring.h.

◆ osti_strcpy

#define osti_strcpy (   des,
  src 
)    strcpy((char *)des, (char *)src)

Definition at line 69 of file osstring.h.

◆ osti_strlen

#define osti_strlen (   s)    strlen((char *)s)

Definition at line 70 of file osstring.h.

◆ osti_strncmp

#define osti_strncmp (   s1,
  s2,
 
)    strncmp((char *)s1, (char *)s2, (size_t)n)

Definition at line 71 of file osstring.h.

◆ osti_strncpy

#define osti_strncpy (   des,
  src,
 
)    strncpy((char *)des, (char *)src, (size_t)n)

Definition at line 72 of file osstring.h.

◆ osti_strstr

#define osti_strstr (   s1,
  s2 
)    strstr((char *)s1, (char *)s2)

Definition at line 73 of file osstring.h.

◆ osti_strtoul

#define osti_strtoul (   nptr,
  endptr,
  base 
)     strtoul((char *)nptr, (char **)endptr, 0)

Definition at line 75 of file osstring.h.