format.h.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version='1.0' encoding='iso-8859-1'?>
  2. <!doctype html public '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
  3. <html xmlns='http://www.w3c.org/1999/xhtml' lang='en-us'>
  4. <head>
  5. <title>
  6. format.h
  7. </title>
  8. <meta http-equiv='content-type' content='text/html;iso-8859-1'/>
  9. <meta name='generator' content='motley-tools 1.9.4 13:40:33 Feb 18 2015'/>
  10. <meta name='author' content='cmaier@cmassoc.net'/>
  11. <meta name='robots' content='noindex,nofollow'/>
  12. <link href='toolkit.css' rel='stylesheet' type='text/css'/>
  13. </head>
  14. <body>
  15. <div class='headerlink'>
  16. [<a href='flags.h.html' title=' flags.h '>PREV</a>]
  17. [<a href='toolkit.html' title=' Index '>HOME</a>]
  18. [<a href='getoptv.h.html' title=' getoptv.h '>NEXT</a>]
  19. </div>
  20. <pre>
  21. /*====================================================================*
  22. *
  23. * format.h - format function definitions and declarations;;
  24. *
  25. * this file is a subset of the original that includes only those
  26. * definitions and declaration needed for toolkit programs;
  27. *
  28. * Motley Tools by Charles Maier &lt;cmaier@cmassoc.net&gt;;
  29. * Copyright 2001-2006 by Charles Maier Associates;
  30. * Licensed under the Internet Software Consortium License;
  31. *
  32. *--------------------------------------------------------------------*/
  33. #ifndef FORMAT_HEADER
  34. #define FORMAT_HEADER
  35. /*====================================================================*
  36. * system header files;
  37. *--------------------------------------------------------------------*/
  38. #include &lt;unistd.h&gt;
  39. /*====================================================================*
  40. * functions;
  41. *--------------------------------------------------------------------*/
  42. size_t strfbits (char buffer [], size_t length, char const * operands [], char const *operator, unsigned flagword);
  43. /*====================================================================*
  44. * functions;
  45. *--------------------------------------------------------------------*/
  46. #ifdef __GNUC__
  47. __attribute__ ((format (printf, 2, 3)))
  48. #endif
  49. void output (signed indent, char const * format, ...);
  50. #ifdef __GNUC__
  51. __attribute__ ((format (printf, 3, 4)))
  52. #endif
  53. void markup (signed fd, signed level, char const * format, ...);
  54. /*====================================================================*
  55. * end definitions;
  56. *--------------------------------------------------------------------*/
  57. #endif
  58. </pre>
  59. <div class='footerlink'>
  60. [<a href='flags.h.html' title=' flags.h '>PREV</a>]
  61. [<a href='toolkit.html' title=' Index '>HOME</a>]
  62. [<a href='getoptv.h.html' title=' getoptv.h '>NEXT</a>]
  63. </div>
  64. </body>
  65. </html>