This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]