URI:
       ts_tolower.c - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
       ts_tolower.c (212B)
       ---
            1 #include <u.h>
            2 #include <libc.h>
            3 #include <ctype.h>
            4 #include "libString.h"
            5 
            6 
            7 /* convert String to lower case */
            8 void
            9 s_tolower(String *sp)
           10 {
           11         char *cp;
           12 
           13         for(cp=sp->ptr; *cp; cp++)
           14                 *cp = tolower((uchar)*cp);
           15 }