Return to cmdbuf.c CVS log | Up to [local] / src / usr.bin / less |
version 1.13, 2015/11/23 09:42:57 | version 1.14, 2016/01/12 17:48:04 | ||
---|---|---|---|
|
|
||
/* | /* | ||
* Return the number currently in the command buffer. | * Return the number currently in the command buffer. | ||
*/ | */ | ||
LINENUM | off_t | ||
cmd_int(long *frac) | cmd_int(long *frac) | ||
{ | { | ||
char *p; | char *p; | ||
LINENUM n = 0; | off_t n = 0; | ||
int err; | int err; | ||
for (p = cmdbuf; *p >= '0' && *p <= '9'; p++) | for (p = cmdbuf; *p >= '0' && *p <= '9'; p++) |