--------------------------------------------------------------------------- | 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. +---------------------
| 264 | | Description : Position to the first whitespace character. |
| 265 | | |
| 266 | | Return Values : Pointer to first whitespace character in buffer. |
| 267 | +--------------------------------------------------------------------------*/ |
| 268 | INLINE 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 |
no outgoing calls
no test coverage detected
searching dependent graphs…