mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
18 lines
446 B
C
18 lines
446 B
C
/*
|
|
* Copyright (c) 2021, Gunnar Beutner <gbeutner@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <sys/cdefs.h>
|
|
#include <termios.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
int openpty(int* amaster, int* aslave, char* name, const struct termios* termp, const struct winsize* winp);
|
|
pid_t forkpty(int* amaster, int* aslave, char* name, const struct termios* termp, const struct winsize* winp);
|
|
int login_tty(int fd);
|
|
|
|
__END_DECLS
|