test_bit(3) MudOS v21c2 (5 Sep 1994)
名稱:
test_bit() - 檢查一個位元字串 (bitstring) 中某一個位元 (bit) 的值.
語法:
int test_bit( string str, int n );
整數 test_bit( 字串 str, 整數 n );
用法:
傳回字串 str 中, 第 n 個位元是 0 或 1.
參數:
set_bit(3)
,
clear_bit(3)
翻譯:
Spock @ FF 97.Jul.24. (printed 3/16/95)
回到上一頁