1 /* Copyright 1998 by Andi Kleen. Subject to the GPL. */
2 /* $Id: nstrcmp.c,v 1.2 1998/11/15 20:11:38 freitag Exp $ */
7 /* like strcmp(), but knows about numbers */
8 int nstrcmp(const char *astr
, const char *b
)
31 return atoi(a
) > atoi(b
) ? 1 : -1;