Skip to contentSkip to conversation

error return codes from alsa-lib

DISCUSSION Paul Davis 2 participants 3 messages Nov 26, 2003

lore
Share & tools
lore

Paul Davis

author
#0 lore raw

at what point, if any, did alsa-lib start returning positive E<FOO> values (e.g. EBUSY) rather than -EBUSY?

--p

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/

#1 lore raw
Quoted 2 lines · Paul Davis

at what point, if any, did alsa-lib start returning positive E<FOO> values (e.g. EBUSY) rather than -EBUSY?

I'm not aware. Which functions?

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/

author
#2 lore raw
Quoted 6 lines · Paul Davis
Quoted 3 lines

at what point, if any, did alsa-lib start returning positive E<FOO> values (e.g. EBUSY) rather than -EBUSY?

I'm not aware. Which functions?

none. its OK, i was checking errno rather than the returned value. my mistake. sorry for the distraction.

--p

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/