From b2b0a411a8f29b097aa6c941e4167ec225737741 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 8 Aug 1997 00:37:04 +0000 Subject: Correct comment. --- sysdeps/posix/ttyname_r.c | 4 ++-- sysdeps/stub/ttyname_r.c | 30 +++++++++++++++--------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/sysdeps/posix/ttyname_r.c b/sysdeps/posix/ttyname_r.c index d404245be5..b3a15d13d1 100644 --- a/sysdeps/posix/ttyname_r.c +++ b/sysdeps/posix/ttyname_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 95, 96 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,7 +31,7 @@ #endif /* Store at most BUFLEN character of the pathname of the terminal FD is - open on in BUF. Return 0 on success, -1 otherwise. */ + open on in BUF. Return 0 on success, otherwise an error number. */ int __ttyname_r (fd, buf, buflen) int fd; diff --git a/sysdeps/stub/ttyname_r.c b/sysdeps/stub/ttyname_r.c index 7a05629c43..4c4853d79e 100644 --- a/sysdeps/stub/ttyname_r.c +++ b/sysdeps/stub/ttyname_r.c @@ -1,27 +1,27 @@ -/* Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc. -This file is part of the GNU C Library. +/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. + This file is part of the GNU C Library. -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 675 Mass Ave, -Cambridge, MA 02139, USA. */ + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ #include #include /* Store at most BUFLEN characters the pathname of the terminal FD is - open on in BUF. Return 0 on success, -1 otherwise. */ + open on in BUF. Return 0 on success, otherwise an error number. */ int ttyname_r (fd, buf, buflen) int fd; -- cgit v1.2.3