static char elsieid
[] = "@(#)scheck.c 8.11";
#endif /* !defined lint */
#endif /* !defined NOID */
extern char * imalloc
P((int n
));
extern void ifree
P((char * p
));
const char * const string
;
const char * const format
;
register const char * fp
;
if (string
== NULL
|| format
== NULL
)
fbuf
= imalloc(2 * strlen(format
) + 4);
while ((*tp
++ = c
= *fp
++) != '\0') {
while (isascii(*fp
) && isdigit(*fp
))
if (*fp
== 'l' || *fp
== 'h')
while (*fp
!= '\0' && *fp
!= ']');
if ((*tp
++ = *fp
++) == '\0')
if (sscanf(string
, fbuf
, &dummy
) != 1)
result
= (char *) format
;