Line 1... |
Line 1... |
1 |
/*
|
1 |
/*
|
2 |
* Locales configuration for SvarDOS
|
2 |
* Locales configuration for SvarDOS
|
3 |
*
|
3 |
*
|
4 |
* Copyright (C) Mateusz Viste 2015-2022
|
4 |
* Copyright (C) Mateusz Viste 2015-2022
|
5 |
*
|
5 |
*
|
6 |
* Redistribution and use in source and binary forms, with or without
|
6 |
* MIT license
|
7 |
* modification, are permitted provided that the following conditions are met:
|
- |
|
8 |
*
|
7 |
*
|
- |
|
8 |
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
9 |
* 1. Redistributions of source code must retain the above copyright notice,
|
9 |
* of this software and associated documentation files (the "Software"), to
|
10 |
* this list of conditions and the following disclaimer.
|
10 |
* deal in the Software without restriction, including without limitation the
|
- |
|
11 |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
11 |
* 2. Redistributions in binary form must reproduce the above copyright
|
12 |
* sell copies of the Software, and to permit persons to whom the Software is
|
12 |
* notice, this list of conditions and the following disclaimer in the
|
13 |
* furnished to do so, subject to the following conditions:
|
- |
|
14 |
*
|
13 |
* documentation and/or other materials provided with the distribution.
|
15 |
* The above copyright notice and this permission notice shall be included in
|
- |
|
16 |
* all copies or substantial portions of the Software.
|
- |
|
17 |
*
|
- |
|
18 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
- |
|
19 |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
- |
|
20 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
- |
|
21 |
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
- |
|
22 |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
- |
|
23 |
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
- |
|
24 |
* IN THE SOFTWARE.
|
14 |
*/
|
25 |
*/
|
15 |
|
26 |
|
16 |
#include <stdio.h>
|
27 |
#include <stdio.h>
|
17 |
#include <stdlib.h> /* atoi() */
|
28 |
#include <stdlib.h> /* atoi() */
|
18 |
#include <string.h> /* strchr */
|
29 |
#include <string.h> /* strchr */
|