1 /*
2  * Copyright 2010 The Native Client Authors. All rights reserved.
3  * Use of this source code is governed by a BSD-style license that can be
4  * found in the LICENSE file.
5  */
6 
7 
8 /*
9  * Stub routine for `ttyname_r' for porting support.
10  */
11 
12 #include <unistd.h>
13 #include <errno.h>
14 
ttyname_r(int fd,char * buf,size_t buflen)15 int ttyname_r(int fd, char *buf, size_t buflen) {
16   return ENOSYS;
17 }
18