📄 skipspc.c
字号:
/***************************************************************************/
/* */
/* SKIPSPC.C */
/* */
/* Copyright (c) 1991 - Microsoft Corp. */
/* All rights reserved. */
/* Microsoft Confidential */
/* */
/* Returns a ptr to first character after any white spaces or '=' chars. */
/* Checks for EOL and if encountered stops processing and returns a ptr */
/* to the EOL character. */
/* */
/* char *SkipLeadingWhite( char *szPtr ) */
/* */
/* ARGUMENTS: Str - Ptr to a string */
/* RETURNS: char * - Ptr to first non-white space character or EOL */
/* */
/* johnhe - 12/01/89 */
/***************************************************************************/
#include <strlib.h>
char *SkipLeadingWhite( char *szPtr )
{
while ( IsWhite( *szPtr ) && *szPtr != EOL )
szPtr++;
return( szPtr );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -