LCOV - code coverage report
Current view: top level - src/platform/posix - argv_utf8.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 2 2
Test Date: 2026-04-20 19:54:22 Functions: 100.0 % 1 1

            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 : }
        

Generated by: LCOV version 2.0-1