mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
Direct _ioctl to libc plugin interface
Removed dummy implementation of '_ioctl'. This function is called internally within the libc, i.e., by 'tcgetattr'. For running libreadline in Noux, we need to hook into those ioctl operations via the libc plugin interface.
This commit is contained in:
parent
20213e2c76
commit
d09c7e699e
@ -10,7 +10,7 @@ LIBS += timed_semaphore cxx
|
||||
# Back end
|
||||
#
|
||||
SRC_CC = atexit.cc dummies.cc rlimit.cc sysctl.cc readlink.cc munmap.cc \
|
||||
issetugid.cc errno.cc gai_strerror.cc ioctl.cc clock_gettime.cc \
|
||||
issetugid.cc errno.cc gai_strerror.cc clock_gettime.cc \
|
||||
gettimeofday.cc malloc.cc progname.cc fd_alloc.cc file_operations.cc \
|
||||
plugin.cc plugin_registry.cc select.cc exit.cc environ.cc
|
||||
|
||||
|
@ -226,6 +226,10 @@ extern "C" int ioctl(int libc_fd, int request, char *argp) {
|
||||
FD_FUNC_WRAPPER(ioctl, libc_fd, request, argp); }
|
||||
|
||||
|
||||
extern "C" int _ioctl(int libc_fd, int request, char *argp) {
|
||||
FD_FUNC_WRAPPER(ioctl, libc_fd, request, argp); }
|
||||
|
||||
|
||||
extern "C" int listen(int libc_fd, int backlog) {
|
||||
FD_FUNC_WRAPPER(listen, libc_fd, backlog); }
|
||||
|
||||
|
@ -1,20 +0,0 @@
|
||||
/*
|
||||
* \brief C-library back end
|
||||
* \author Norman Feske
|
||||
* \date 2008-11-11
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2008-2011 Genode Labs GmbH
|
||||
*
|
||||
* This file is part of the Genode OS framework, which is distributed
|
||||
* under the terms of the GNU General Public License version 2.
|
||||
*/
|
||||
|
||||
#include "libc_debug.h"
|
||||
|
||||
extern "C" void _ioctl()
|
||||
{
|
||||
raw_write_str("_ioctl called, not yet implemented!\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user