compatible header functions
Hi all!
I am new to writing c programs in linux and I have trouble finding the following functions in the header files. 1)itoa: to convert an integer to a string.
2)ltoa: to convert long integer to a string.
3)strset: to set the whole string to a given character.
Please tell me if these are present in linux or if they have any equivalent functions.
Thanks in advance.
mishra.
Quoted 3 lines · n mishra
Hi all!
I am new to writing c programs in linux and I have trouble finding the following functions in the header files.
These are proprietary vendor extensions and not part of the C standard.
Quoted 2 lines
1)itoa: to convert an integer to a string.
2)ltoa: to convert long integer to a string.
You can do the same with sprintf().
Quoted 1 line
3)strset: to set the whole string to a given character.
Look up the function memset().
Robert
Signature · 2 lines
Robert Schiele Tel.: +49-621-181-2517 Dipl.-Wirtsch.informatiker mailto:[email protected]