dosfstools  4.2
About: dosfstools are utilities to create, check and label (MS-DOS) FAT filesystems.
  Fossies Dox: dosfstools-4.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

charconv.h File Reference
#include <stddef.h>
Include dependency graph for charconv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.




int set_dos_codepage (int codepage)
int dos_char_to_printable (char **p, unsigned char c, unsigned int out_size)
int local_string_to_dos_string (char *out, char *in, unsigned int out_size)
int dos_string_to_wchar_string (wchar_t *out, char *in, unsigned int out_size)
int wchar_string_to_dos_string (char *out, wchar_t *in, unsigned int out_size)

Macro Definition Documentation



Definition at line 28 of file charconv.h.

Function Documentation

◆ dos_char_to_printable()

int dos_char_to_printable ( char **  p,
unsigned char  c,
unsigned int  out_size 

Definition at line 353 of file charconv.c.

References cp850_char_to_printable().

Referenced by pretty_label(), and put_char().

◆ dos_string_to_wchar_string()

int dos_string_to_wchar_string ( wchar_t *  out,
char *  in,
unsigned int  out_size 

Definition at line 363 of file charconv.c.

References cp850_string_to_wchar_string().

Referenced by check_boot_label(), check_label(), and validate_volume_label().

◆ local_string_to_dos_string()

int local_string_to_dos_string ( char *  out,
char *  in,
unsigned int  out_size 

Definition at line 358 of file charconv.c.

References local_string_to_cp850_string().

Referenced by get_new_label(), handle_label(), and setup_tables().

◆ set_dos_codepage()

int set_dos_codepage ( int  codepage)

Definition at line 339 of file charconv.c.


Referenced by main().

◆ wchar_string_to_dos_string()

int wchar_string_to_dos_string ( char *  out,
wchar_t *  in,
unsigned int  out_size 

Definition at line 368 of file charconv.c.

References wchar_string_to_cp850_string().

Referenced by check_boot_label(), and check_label().