# 2.11BSD#431 - /usr/src/libexec/popper/pop_lower.c

##### Functions

    pop_lower         X

       1: /*
       2:  * Copyright (c) 1989 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: #ifndef lint
       8: static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
       9: static char SccsId[] = "@(#)@(#)pop_lower.c	2.1  2.1 3/18/91";
      10: #endif not lint
      11:
      12: #include <stdio.h>
      13: #include <sys/types.h>
      14: #include <ctype.h>
      15:
      16: /*
      17:  *  lower:  Convert a string to lowercase
      18:  */
      19:
      20: pop_lower (buf)
      21: char        *   buf;
      22: {
      23:     char        *   mp;
      24:
      25:     for (mp = buf; *mp; mp++)
      26:         if (isupper(*mp) && isupper(*mp)) *mp = (char)tolower((int)*mp);
      27: }

#### Defined functions

pop_lower defined in line 20; used 2 times

- in /usr/src/libexec/popper/pop_parse.c line 59
- in /usr/src/libexec/popper/pop_xtnd.c line 28

#### Defined variables

SccsId defined in line 9; never used
copyright defined in line 8; never used

Last modified: 1991-04-04 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 882 |