bug on serXwrite funcion?

i need to send some data on serial port. the buffer is initialized with this instruction.


char s[10] = { 0x02,0x20,0x00,0x00,0x00,0x00,0x00,0x03,0x32,0x33};

but


serCputs(s) 

and


serCwirte(s,10) 

stops when they encounter first “0x00” char and send only 0x02 and 0x20.

does someone has a good idea?