\hypertarget{strlen_8c}{}\doxysection{libkern/strlen.c File Reference}
\label{strlen_8c}\index{libkern/strlen.c@{libkern/strlen.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include $<$sys/libkern.\+h$>$}\newline
{\ttfamily \#include $<$sys/limits.\+h$>$}\newline
Include dependency graph for strlen.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=339pt]{d3/dab/strlen_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{strlen_8c_ae33e2dfb5c1456c17782ba1e0894d783}{LONGPTR\+\_\+\+MASK}}~(sizeof(long) -\/ 1)
\item 
\#define \mbox{\hyperlink{strlen_8c_a57c8d92afd27a2061de282ec221f8c32}{testbyte}}(x)
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{strlen_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
size\+\_\+t() \mbox{\hyperlink{strlen_8c_a2052d80776e2362371186b694e4f628a}{strlen}} (const char $\ast$str)
\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{strlen_8c_ae33e2dfb5c1456c17782ba1e0894d783}\label{strlen_8c_ae33e2dfb5c1456c17782ba1e0894d783}} 
\index{strlen.c@{strlen.c}!LONGPTR\_MASK@{LONGPTR\_MASK}}
\index{LONGPTR\_MASK@{LONGPTR\_MASK}!strlen.c@{strlen.c}}
\doxysubsubsection{\texorpdfstring{LONGPTR\_MASK}{LONGPTR\_MASK}}
{\footnotesize\ttfamily \#define LONGPTR\+\_\+\+MASK~(sizeof(long) -\/ 1)}



Definition at line \mbox{\hyperlink{strlen_8c_source_l00063}{63}} of file \mbox{\hyperlink{strlen_8c_source}{strlen.\+c}}.

\mbox{\Hypertarget{strlen_8c_a57c8d92afd27a2061de282ec221f8c32}\label{strlen_8c_a57c8d92afd27a2061de282ec221f8c32}} 
\index{strlen.c@{strlen.c}!testbyte@{testbyte}}
\index{testbyte@{testbyte}!strlen.c@{strlen.c}}
\doxysubsubsection{\texorpdfstring{testbyte}{testbyte}}
{\footnotesize\ttfamily \#define testbyte(\begin{DoxyParamCaption}\item[{}]{x }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{        \textcolor{keywordflow}{do} \{                                    \(\backslash\)}
\DoxyCodeLine{                if (p[x] == \textcolor{charliteral}{'\(\backslash\)0'})               \(\backslash\)}
\DoxyCodeLine{                    return (p -\/ str + x);       \(\backslash\)}
\DoxyCodeLine{        \} \textcolor{keywordflow}{while} (0)}

\end{DoxyCode}


Definition at line \mbox{\hyperlink{strlen_8c_source_l00069}{69}} of file \mbox{\hyperlink{strlen_8c_source}{strlen.\+c}}.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{strlen_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{strlen_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{strlen.c@{strlen.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!strlen.c@{strlen.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{strlen_8c_a2052d80776e2362371186b694e4f628a}\label{strlen_8c_a2052d80776e2362371186b694e4f628a}} 
\index{strlen.c@{strlen.c}!strlen@{strlen}}
\index{strlen@{strlen}!strlen.c@{strlen.c}}
\doxysubsubsection{\texorpdfstring{strlen()}{strlen()}}
{\footnotesize\ttfamily size\+\_\+t() strlen (\begin{DoxyParamCaption}\item[{const char $\ast$}]{str }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{strlen_8c_source_l00075}{75}} of file \mbox{\hyperlink{strlen_8c_source}{strlen.\+c}}.



References \mbox{\hyperlink{strlen_8c_source_l00069}{testbyte}}.



Referenced by \mbox{\hyperlink{iconv_8c_source_l00515}{iconv\+\_\+convstr()}}, \mbox{\hyperlink{iconv_8c_source_l00185}{iconv\+\_\+register\+\_\+cspair()}}, \mbox{\hyperlink{iconv_8c_source_l00327}{iconv\+\_\+sysctl\+\_\+drvlist()}}, \mbox{\hyperlink{inet__ntop_8c_source_l00093}{inet\+\_\+ntop6()}}, \mbox{\hyperlink{strcasestr_8c_source_l00051}{strcasestr()}}, \mbox{\hyperlink{strdup_8c_source_l00043}{strdup\+\_\+flags()}}, \mbox{\hyperlink{strlcat_8c_source_l00049}{strlcat()}}, \mbox{\hyperlink{strnstr_8c_source_l00046}{strnstr()}}, and \mbox{\hyperlink{strstr_8c_source_l00045}{strstr()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d67/strlen_8c_a2052d80776e2362371186b694e4f628a_icgraph}
\end{center}
\end{figure}
