Changeset 696b405 in mainline for abi/include/_bits/mbstate_t.h


Ignore:
Timestamp:
2025-04-13T12:54:10Z (9 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
9daee3de
Parents:
7d1497c
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-13 10:13:16)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2025-04-13 12:54:10)
Message:

Implement standard character conversion functions from <uchar.h> and <wchar.h>

These are more somewhat more flexible than the existing functions in <str.h> since
they can process incomplete stream and save unfinished character for next call.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/mbstate_t.h

    r7d1497c r696b405  
    11/*
    2  * Copyright (c) 2020 Martin Decky
     2 * Copyright (c) 2025 Jiří Zárevúcky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup kernel_generic
     29/** @addtogroup bits
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef _KERN_UCHAR_H_
    36 #define _KERN_UCHAR_H_
     35#ifndef _BITS_MBSTATE_T_H_
     36#define _BITS_MBSTATE_T_H_
    3737
    38 #include <_bits/uchar.h>
     38typedef struct {
     39        unsigned short continuation;
     40} mbstate_t;
    3941
    4042#endif
Note: See TracChangeset for help on using the changeset viewer.