Fix ptsname(3) and ttyname(3) to use TLS.
authorElliott Hughes <enh@google.com>
Wed, 10 Dec 2014 04:30:23 +0000 (20:30 -0800)
committerElliott Hughes <enh@google.com>
Wed, 10 Dec 2014 04:30:23 +0000 (20:30 -0800)
commita381fe8ebcd196614a00f4dca3539e0860ef9e84
tree3554d98520ded579dcc9ad2e5e4f36e23f3f7b5f
parent3592743f7191c69ae1fd2d7e01222bd380d93d3e
Fix ptsname(3) and ttyname(3) to use TLS.

Be safe by default.

Change-Id: I6c4a3f1fd4eee3a651b3162ce95b7e873de57521
libc/bionic/pty.cpp
libc/include/stdlib.h
libc/include/unistd.h
libc/private/bionic_tls.h