source: ogServer-Git/src/utils.c @ 79e7e2b

Last change on this file since 79e7e2b was 37e91b2, checked in by OpenGnSys Support Team <soporte-og@…>, 4 years ago

#971 rename sources folder to src

Use the same folder as in ogClient.

  • Property mode set to 100644
File size: 464 bytes
Line 
1/*
2 * Copyright (C) 2020 Soleta Networks <info@soleta.eu>
3 *
4 * This program is free software: you can redistribute it and/or modify it under
5 * the terms of the GNU Affero General Public License as published by the
6 * Free Software Foundation, version 3.
7 */
8
9#include <ctype.h>
10#include "utils.h"
11
12const char *str_toupper(char *str)
13{
14       char *c = str;
15
16       while (*c) {
17               *c = toupper(*c);
18               c++;
19       }
20
21       return str;
22}
Note: See TracBrowser for help on using the repository browser.