📄 otherlib.c
字号:
/*--------------------------------------------------------------------------*/
/* Initialization Routine for Other Library Function. */
/* (rand function and strok function) */
/*--------------------------------------------------------------------------*/
#include <stddef.h>
extern char *_s1ptr;
extern void srand ( unsigned int );
void _INIT_OTHERLIB ( void );
void _INIT_OTHERLIB ()
{
srand (1); /* Sets initial value when rand function is used */
_s1ptr = NULL; /* Initializes the pointer used in the strtok */
/* function */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -