UbixOS  2.0
strlen.c File Reference
#include <sys/limits.h>
#include <sys/types.h>
Include dependency graph for strlen.c:

Go to the source code of this file.

Macros

#define LONGPTR_MASK   (sizeof(long) - 1)
 
#define testbyte(x)
 

Functions

size_t strlen (const char *str)
 

Macro Definition Documentation

◆ LONGPTR_MASK

#define LONGPTR_MASK   (sizeof(long) - 1)

Definition at line 43 of file strlen.c.

◆ testbyte

#define testbyte (   x)
Value:
do { \
if (p[x] == '\0') \
return (p - str + x); \
} while (0)

Definition at line 49 of file strlen.c.

Function Documentation

◆ strlen()