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.
9 * Stub routine for `ttyname_r' for porting support.
15 int ttyname_r(int fd, char *buf, size_t buflen) {