/* * Copyright (c) 1989 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement * specifies the terms and conditions for redistribution. */ #include RCSID("$Id$"); /* * lower: Convert a string to lowercase */ void pop_lower (char *buf) { char * mp; for (mp = buf; *mp; mp++) if (isupper(*mp) && isupper(*mp)) *mp = (char)tolower((int)*mp); }