This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
make openpty's termp and winp parameters const?
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Mon, 17 Dec 2007 11:50:54 +0000
- Subject: make openpty's termp and winp parameters const?
Hello,
Since openpty()'s termp and winp parameters are just used by tcsetattr()
and to set the window size, shouldn't they be const like this?
int openpty(int *amaster, int *aslave, char *name,
const struct termios *termp, const struct winsize * winp);
Samuel