File: scan_uint.c

package info (click to toggle)
serialmail 0.72-3
  • links: PTS
  • area: non-free
  • in suites: hamm, potato, slink
  • size: 692 kB
  • ctags: 468
  • sloc: ansic: 3,619; makefile: 542; sh: 295
file content (8 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#include "scan.h"

unsigned int scan_uint(s,u) register char *s; register unsigned int *u;
{
  register unsigned int pos; unsigned long result;
  pos = scan_ulong(s,&result);
  *u = result; return pos;
}