[go: up one dir, main page]

Menu

[533284]: / utf8.h  Maximize  Restore  History

Download this file

16 lines (13 with data), 564 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
// This file is part of the loginx project
//
// Copyright (c) 2013 by Mike Sharov <msharov@users.sourceforge.net>
// This file is free software, distributed under the ISC license.
#pragma once
#include "config.h"
#include <ncurses.h>
unsigned utf8_length (const char* s);
unsigned utf8_range_length (const char* f, const char* l);
void wadd_utf8 (WINDOW* w, const char* s);
void waddn_utf8 (WINDOW* w, const char* s, unsigned n);
void mvwadd_utf8 (WINDOW* w, int y, int x, const char* s);
void mvwaddn_utf8 (WINDOW* w, int y, int x, const char* s, unsigned n);