summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/termcap.h
blob: 451151aa759a2a7a35fc2a79c9673c81722ac727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <sys/cdefs.h>

__BEGIN_DECLS

extern char PC;
extern char* UP;
extern char* BC;

int tgetent(char* bp, char const* name);
int tgetflag(char const* id);
int tgetnum(char const* id);
char* tgetstr(char const* id, char** area);
char* tgoto(char const* cap, int col, int row);
int tputs(char const* str, int affcnt, int (*putc)(int));

__END_DECLS