Oh really? What if fd is a channel to a device on a machine with a different byte order or a different int size? Who does the conversion, how do they know?
It might be comfortable, but so is lounging in a big enough pile of shite. Smelly, though. On Thu Mar 30 12:52:02 EST 2006, [EMAIL PROTECTED] wrote: > Good evening. > > Am Thu, 30 Mar 2006 18:41:28 +0100 schrieb [EMAIL PROTECTED]: > > > > >> with names such as > > > >> kAudioHardwarePropertyBootChimeVolumeRangeDecibels, > > > > > > Do you prefer kAHPBCVRD? > > > > i'd prefer: > > > > fprint(ctlfd, "volume %d", vol); > > > > ioctl(fd, SETVOLUME, &vol); is more comfortable. > > Sincerely, > > Christoph
