Skip to content

cf_silen

Category: string
GitHub: cute_string.h


Returns the length of an intern'd string.

#define cf_silen(s) silen(s)
Parameters Description
s The string.

Remarks

This is not a secure method -- do not use it on any potentially dangerous strings. It's designed to be very simple and fast, nothing more. The return value is calculated in constant time, as opposed to calling CF_STRLEN (strlen).

cf_sintern
cf_sintern_range
cf_sivalid
cf_sinuke