cstring · Section 3
cstr_at
NAME
cstr_at - return the character at a given index
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cstring.h> cstr_at(s, idx);
DESCRIPTION
This macro just forwards its arguments to cstring_at().
PARAMETERS
s cstr to query idx Zero-based character index
RETURN VALUE
The character at idx, or '\0' if idx >= length