diff options
author | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-11-05 05:07:48 +0000 |
---|---|---|
committer | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-11-05 05:07:48 +0000 |
commit | 0f110f410020b780e777de364553d0bf8d5e7ab4 (patch) | |
tree | 467074379860386c73f276ffdd594a1e2d6c7b48 /sysdeps/mach/hurd/ttyname_r.c | |
parent | 050a966adc1830841802dbbd803b7cc1d792af4d (diff) | |
download | glibc-0f110f410020b780e777de364553d0bf8d5e7ab4.tar glibc-0f110f410020b780e777de364553d0bf8d5e7ab4.tar.gz glibc-0f110f410020b780e777de364553d0bf8d5e7ab4.tar.bz2 glibc-0f110f410020b780e777de364553d0bf8d5e7ab4.zip |
*** empty log message ***
Tue Nov 5 00:04:48 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* stdio-common/vfprintf.c: Include <libc-lock.h>.
Diffstat (limited to 'sysdeps/mach/hurd/ttyname_r.c')
-rw-r--r-- | sysdeps/mach/hurd/ttyname_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/ttyname_r.c b/sysdeps/mach/hurd/ttyname_r.c index 67ff37d61c..f958dd9e4f 100644 --- a/sysdeps/mach/hurd/ttyname_r.c +++ b/sysdeps/mach/hurd/ttyname_r.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996 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 @@ -26,7 +26,7 @@ Cambridge, MA 02139, USA. */ /* Store at most BUFLEN characters of the pathname of the terminal FD is open on in BUF. Return 0 on success, -1 otherwise. */ int -ttyname_r (int fd, char *buf, int buflen) +ttyname_r (int fd, char *buf, size_t buflen) { error_t err; char nodename[1024]; /* XXX */ |