s/qmail  3.3.23
Next generation secure email transport
scan_8long.c
Go to the documentation of this file.
1 #include "scan.h"
2 
3 unsigned int scan_8long(register char *s,register unsigned long *u)
4 {
5  register unsigned int pos; register unsigned long result;
6  register unsigned long c;
7  pos = 0; result = 0;
8  while ((c = (unsigned long) (unsigned char) (s[pos] - '0')) < 8)
9  { result = result * 8 + c; ++pos; }
10  *u = result; return pos;
11 }
void c(char *home, char *subdir, char *file, int uid, int gid, int mode)
Definition: install.c:57
unsigned int scan_8long(register char *s, register unsigned long *u)
Definition: scan_8long.c:3
unsigned u
Definition: matchup.c:36