MCPcopy Create free account
hub / github.com/Kitware/CMake / Get_First_Whitespace_Character

Function Get_First_Whitespace_Character

Source/CursesDialog/form/frm_driver.c:266–275  ·  view source on GitHub ↗

--------------------------------------------------------------------------- | Facility : libnform | Function : static char *Get_First_Whitespace_Character( | char * buf, int blen) | | Description : Position to the first whitespace character. | | Return Values : Pointer to first whitespace character in buffer. +---------------------

Source from the content-addressed store, hash-verified

264| Description : Position to the first whitespace character.
265|
266| Return Values : Pointer to first whitespace character in buffer.
267+--------------------------------------------------------------------------*/
268INLINE static char *Get_First_Whitespace_Character(char * buf, int blen)
269{
270 char *p = buf;
271 char *end = &p[blen];
272
273 assert(buf && blen>=0);
274 while( (p < end) && !is_blank(*p))
275 p++;
276 return( (p==end) ? buf : p );
277}
278

Callers 2

IFN_Next_WordFunction · 0.85
FE_Delete_WordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…