一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
String Safety
Collaboration diagram for String Safety:

Macros

#define ein_null_terminated_string_arg(x)
 The N th argumnt is a null terminated string.
 

Detailed Description

Macro Definition Documentation

◆ ein_null_terminated_string_arg

#define ein_null_terminated_string_arg ( x)

The N th argumnt is a null terminated string.

This may be applied to a function that takes a char * or char const * at referenced argument N.

It indicates that the passed argument must be a C-style null-terminated string. Specifically, the presence of the attribute implies that, if the pointer is non-null, the function may scan through the referenced buffer looking for the first zero byte.

Definition at line 37 of file strings.hpp.