/[hurd]/hurd/storeio/io.c
ViewVC logotype

Diff of /hurd/storeio/io.c

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

revision 1.13 by roland, Sun Mar 19 20:56:46 2000 UTC revision 1.14 by roland, Thu Jun 13 21:27:20 2002 UTC
# Line 1  Line 1 
1  /* The hurd io interface to storeio  /* The hurd io interface to storeio
2    
3     Copyright (C) 1995,96,97,99,2000 Free Software Foundation, Inc.     Copyright (C) 1995,96,97,99,2000,02 Free Software Foundation, Inc.
4     Written by Miles Bader <miles@gnu.org>     Written by Miles Bader <miles@gnu.org>
5    
6     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 81  trivfs_S_io_map (struct trivfs_protid *c Line 81  trivfs_S_io_map (struct trivfs_protid *c
81  error_t  error_t
82  trivfs_S_io_read (struct trivfs_protid *cred,  trivfs_S_io_read (struct trivfs_protid *cred,
83                    mach_port_t reply, mach_msg_type_name_t reply_type,                    mach_port_t reply, mach_msg_type_name_t reply_type,
84                    vm_address_t *data, mach_msg_type_number_t *data_len,                    char **data, mach_msg_type_number_t *data_len,
85                    off_t offs, mach_msg_type_number_t amount)                    loff_t offs, mach_msg_type_number_t amount)
86  {  {
87    if (! cred)    if (! cred)
88      return EOPNOTSUPP;      return EOPNOTSUPP;
# Line 123  trivfs_S_io_readable (struct trivfs_prot Line 123  trivfs_S_io_readable (struct trivfs_prot
123  error_t  error_t
124  trivfs_S_io_write (struct trivfs_protid *cred,  trivfs_S_io_write (struct trivfs_protid *cred,
125                     mach_port_t reply, mach_msg_type_name_t reply_type,                     mach_port_t reply, mach_msg_type_name_t reply_type,
126                     vm_address_t data, mach_msg_type_number_t data_len,                     char *data, mach_msg_type_number_t data_len,
127                     off_t offs, mach_msg_type_number_t *amount)                     loff_t offs, mach_msg_type_number_t *amount)
128  {  {
129    if (! cred)    if (! cred)
130      return EOPNOTSUPP;      return EOPNOTSUPP;
# Line 272  trivfs_S_io_mod_owner (struct trivfs_pro Line 272  trivfs_S_io_mod_owner (struct trivfs_pro
272  error_t  error_t
273  trivfs_S_file_sync (struct trivfs_protid *cred,  trivfs_S_file_sync (struct trivfs_protid *cred,
274                      mach_port_t reply, mach_msg_type_name_t reply_type,                      mach_port_t reply, mach_msg_type_name_t reply_type,
275                      int wait)                      int wait, int omit_metadata)
276  {  {
277    if (cred)    if (cred)
278      return dev_sync (((struct open *)cred->po->hook)->dev, wait);      return dev_sync (((struct open *)cred->po->hook)->dev, wait);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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