thanx, but i did it...all it needed was a little modification...as linux pads the entire vacent 32 bit...i had to take tht into concideration..

now my code is working fine..

thanx for ur help