ST_READY status confusion in st.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

in file st.c

598    if( STp->ready ! = ST_READY )  /* here ST_READY is a macro eq to 0 declared in st.h */
599            return 0;

well it means if the tape is not ready return 0.
why are we returning 0 in when tape in not ready? shouldnt it be return a positive value as required?

can anybody explain this to me?

thank you

--
play the game

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux