uppercase.c

uppercase a string in-place in c

npm install uppercase.c
1 downloads in the last week
5 downloads in the last month

uppercase.c

uppercase a string in-place in c

example

#include "stdio.h"
#require "uppercase.c" as uppercase

int main (int argc, char **argv) {
    for (int i = 1; i < argc; i++) {
        printf("%s ", uppercase(argv[i]));
    }
    printf("\n");
    return 0;
}

methods

#require "uppercase.c" as upper

char upper(char str)

Uppercase the string str in-place, returning str.

install

With npm do:

npm install uppercase.c

This is a dotc module.

license

MIT

npm loves you