Update b.c

for both minix and linux