/[hurd]/hurd/libtrivfs/io-identity.c
ViewVC logotype

Diff of /hurd/libtrivfs/io-identity.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mib, Fri May 10 00:42:10 1996 UTC revision 1.4 by roland, Tue Jun 11 21:40:14 2002 UTC
# Line 1  Line 1 
1  /* Fetching identity port  /* Fetching identity port
2     Copyright (C) 1996 Free Software Foundation, Inc.     Copyright (C) 1996,2002 Free Software Foundation, Inc.
3     Written by Michael I. Bushnell, p/BSG.     Written by Michael I. Bushnell, p/BSG.
4    
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
# Line 29  trivfs_S_io_identity (struct trivfs_prot Line 29  trivfs_S_io_identity (struct trivfs_prot
29                        mach_msg_type_name_t *idport_type,                        mach_msg_type_name_t *idport_type,
30                        mach_port_t *fsidport,                        mach_port_t *fsidport,
31                        mach_msg_type_name_t *fsidport_type,                        mach_msg_type_name_t *fsidport_type,
32                        int *fileno)                        ino_t *fileno)
33  {  {
34    error_t err;    error_t err;
35    struct stat st;    struct stat st;
36      
37    if (!cred)    if (!cred)
38      return EOPNOTSUPP;      return EOPNOTSUPP;
39      
40    err = io_stat (cred->realnode, &st);    err = io_stat (cred->realnode, &st);
41    if (err)    if (err)
42      return err;      return err;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26