[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implicit IN? (was: Interface for SCSI transactions ?)
From: |
Samuel Thibault |
Subject: |
Re: Implicit IN? (was: Interface for SCSI transactions ?) |
Date: |
Fri, 23 Sep 2011 17:34:53 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
olafBuddenhagen@gmx.net, le Fri 23 Sep 2011 03:26:21 +0200, a écrit :
> On Tue, Sep 13, 2011 at 08:54:09AM +0200, Samuel Thibault wrote:
> > olafBuddenhagen@gmx.net, le Mon 12 Sep 2011 20:15:36 +0200, a écrit :
>
> > > > Why no "in" or "out" before parameter "device" ?
> > >
> > > Well, I would have said that the first parameter is just special.
> > > (It's the port on which the RPC was invoked; basically it's only
> > > there to give it a name.) However, I just saw that device_open()
> > > also has other parameters without a direction...
> >
> > These other parameters are integers or constant character arrays, so
> > they are implictly in.
>
> Maybe I'm missing something, but I fail to see why integers or character
> arrays would by any more implicitly IN than other types?...
Because they can't be OUT.
> Perhaps IN is simply the default in general, and it's only explicitly
> specified in most interfaces for clearity? But that's pure speculation
> of course :-)
IIRC somebody said so earlier.
Samuel
- Re: Interface for SCSI transactions ?, (continued)
- Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/23
- Re: Interface for SCSI transactions ?, olafBuddenhagen, 2011/09/29
- Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/23
- Re: Interface for SCSI transactions ?, olafBuddenhagen, 2011/09/29
- Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/29
- Re: Interface for SCSI transactions ?, olafBuddenhagen, 2011/09/13
- Re: Interface for SCSI transactions ?, Samuel Thibault, 2011/09/13
- Implicit IN? (was: Interface for SCSI transactions ?), olafBuddenhagen, 2011/09/23
- Re: Implicit IN? (was: Interface for SCSI transactions ?),
Samuel Thibault <=
- Re: Implicit IN?, olafBuddenhagen, 2011/09/29
- Re: Implicit IN?, Samuel Thibault, 2011/09/29
- Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/13
- Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/13
- Re: Interface for SCSI transactions ?, Samuel Thibault, 2011/09/13
- Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/13
- Re: Interface for SCSI transactions ?, olafBuddenhagen, 2011/09/23
- Re: Interface for SCSI transactions ?, Samuel Thibault, 2011/09/14
- Re: Interface for SCSI transactions ?, Thomas Schmitt, 2011/09/15
Re: Interface for SCSI transactions ?, Samuel Thibault, 2011/09/05