what meaning of command function return val

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

 



When write a command function do_xxx.

When all right it should return zero.

But when error, It should return a negtive value or a positive value?
And what difference between neg-val and pos-val?

-- 
Best Regards,
zzs



_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux