User Tools

Site Tools


notes:sysprog:projects:wut2

This is an old revision of the document!


SYSPROG PROJECT: Writing Unix Tools 2.0 (wut2)

Objective:

Input under each section examples of your program running using different options

binary.c

parity.c

endian.c

checksum.c

twoscomp.c

addition.c

bitmask.c - Andrei Bratkovski


./bitmask -M “10110111” -s “10011010 11010001”
10010010
10010001

./bitmask -M “66” -s “77 77” -b8
66
66

./bitmask -M “66” -s “77s77” -b8 -ds
66
66

./bitmask -M “31 -s “30” -b10
30

./bitmask -M “FE” -s “FF” -b16
0xFE

rotate.c

invert.c

notes/sysprog/projects/wut2.1518542740.txt.gz · Last modified: 2018/02/13 17:25 by abratkov