Last change
on this file since 40d4279 was
a7cce8d,
checked in by OpenGnSys Support Team <soporte-og@…>, 4 years ago
|
ogServer is AGPLv3+
Update license header in files.
|
-
Property mode set to
100644
|
File size:
533 bytes
|
Rev | Line | |
---|
[48de515] | 1 | /* |
---|
[a7cce8d] | 2 | * Copyright (C) 2020-2021 Soleta Networks <info@soleta.eu> |
---|
[48de515] | 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 |
---|
[a7cce8d] | 6 | * Free Software Foundation; either version 3 of the License, or |
---|
| 7 | * (at your option) any later version. |
---|
[48de515] | 8 | */ |
---|
| 9 | |
---|
[f4e7832] | 10 | #include <ctype.h> |
---|
| 11 | #include "utils.h" |
---|
| 12 | |
---|
| 13 | const char *str_toupper(char *str) |
---|
| 14 | { |
---|
| 15 | char *c = str; |
---|
| 16 | |
---|
| 17 | while (*c) { |
---|
| 18 | *c = toupper(*c); |
---|
| 19 | c++; |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | return str; |
---|
| 23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.