[OCLUG-devel] write()

Dan Stromberg strombrg at dcs.nac.uci.edu
Mon May 23 11:16:26 PDT 2005


On Fri, 2005-05-20 at 23:30 -0700, Michael Elkins wrote:
> When you declare an array, the name of the variable is actually the
> same as a pointer to the beginning of the array.  So in the 'read'
> syscall, you are actually passing a pointer when you specify an array.
> 
> Michael

...and it's a rather unnecessary exception to the general rule.

Sure, it might keep a newbie from passing an entire array by value,
but...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://localhost.localdomain/pipermail/oclug-devel/attachments/20050523/4458af87/attachment.bin 


More information about the OCLUG-devel mailing list