Shifting text

view full story

http://www.unix.com – I have the following functions which shifts the text by 4 and 8 characters. How can I pass an integer for the shift so that the text is shifted accordingly? Code: void prValue4_vd (   FILE*  stream,          // name of output stream   const char*  value,      // value associated with argument action key   const char*  desc ) {    // description     const char* frValue4_vd;     frValue4_vd = "    \e[1;32m%s\e[0;37m    %s\e[0m\n";     fprint (HowTos)