Fixed compatibility of output.
[AROS.git] / compiler / posixc / tcsetattr.c
blob6d78d32c0cc4f1c68be6cc6ef80b206e8268432b
1 /*
2 Copyright (C) 1995-2016, The AROS Development Team. All rights reserved.
3 $Id$
4 */
8 /*****************************************************************************
10 NAME */
12 #include <sys/ioctl.h>
13 #include <termios.h>
14 #include <errno.h>
16 int tcsetattr(
18 /* SYNOPSIS */
19 int fd,
20 int opt,
21 const struct termios *t)
23 /* FUNCTION
24 Set terminal attributes.
26 INPUTS
27 fd - file descriptor
28 opt - optional actions
29 t - struct termios containing the requested changes
31 RESULT
32 0 - success
33 1 - error
35 NOTES
36 Will return success, if *any* of the changes were successful.
38 EXAMPLE
40 BUGS
41 Not implemented.
43 SEE ALSO
44 ioctl()
46 INTERNALS
48 ******************************************************************************/
50 /* TODO: Implement tcsetattr() */
51 return 0;