Line data Source code
1 : /* SPDX-License-Identifier: GPL-3.0-or-later */
2 : /* Copyright 2026 Peter Csaszar */
3 :
4 : /**
5 : * @file platform/posix/argv_utf8.c
6 : * @brief No-op argv normalisation for POSIX platforms.
7 : *
8 : * On Linux / macOS / Android the shell passes argv already encoded in the
9 : * locale's character set (almost always UTF-8). No conversion is needed.
10 : */
11 :
12 : #include "../path.h"
13 :
14 6 : void platform_normalize_argv(int *argc, char ***argv)
15 : {
16 : /* POSIX: argv is already UTF-8 — nothing to do. */
17 : (void)argc;
18 : (void)argv;
19 6 : }
|