File: scan_ushort.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-- 208 bytes parent folder | download
1
2
3
4
5
6
7
8
#include "scan.h"

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