]> Dogcows Code - chaz/tar/blob - lib/unicodeio.h
Initial revision
[chaz/tar] / lib / unicodeio.h
1 #ifndef UNICODEIO_H
2 # define UNICODEIO_H
3
4 # include <stdio.h>
5
6 # ifndef PARAMS
7 # if defined PROTOTYPES || (defined __STDC__ && __STDC__)
8 # define PARAMS(Args) Args
9 # else
10 # define PARAMS(Args) ()
11 # endif
12 # endif
13
14 /* Converts the Unicode character CODE to its multibyte representation
15 in the current locale and calls the CALLBACK on the resulting byte
16 sequence. */
17 extern void unicode_to_mb
18 PARAMS ((unsigned int code,
19 void (*callback) PARAMS ((const char *buf, size_t buflen,
20 void *callback_arg)),
21 void *callback_arg));
22
23 /* Outputs the Unicode character CODE to the output stream STREAM. */
24 extern void print_unicode_char PARAMS((FILE *stream, unsigned int code));
25
26 #endif
This page took 0.034488 seconds and 5 git commands to generate.