home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / software / 5083 < prev    next >
Encoding:
Text File  |  1992-12-21  |  3.3 KB  |  128 lines

  1. Path: sparky!uunet!spool.mu.edu!sdd.hp.com!cs.utexas.edu!convex!news.oc.com!utacfd.uta.edu!rwsys!lerami!dalsil!titus
  2. From: titus@dallas.sil.org
  3. Newsgroups: comp.software-eng
  4. Subject: Re: C code layout
  5. Message-ID: <1992Dec18.135227.76@dallas.sil.org>
  6. Date: 18 Dec 92 13:52:27 CST
  7. Organization: Summer Institute of Linguistics, Dallas Center
  8. Lines: 118
  9.  
  10. I know we all have our favorite templates, but I thought I'd
  11. pass these on to give folks "something to shoot at" ;-)
  12.  
  13. These files are my own creation, but were written to conform
  14. to the C coding standard at the site at which I was working. 
  15. If they prove useful, great, if not, this posting shouldn't
  16. eat up too much disk space.
  17.  
  18.                * * * * * * * * * * * * * * * * *
  19. Mike Titus, Programmer                  /\   Summer Institute
  20. SIL                                    /  \        of
  21. 7500 West Camp Wisdom Road            /SIL \   Linguistics
  22. Dallas, Texas  75236-5699            --------
  23. U.S.A.
  24. Voice    : (214) 709-2400             * Internet <titus@dallas.sil.org>
  25. Facsimile: (214) 709-3387             * UUCP     ...utafil!txsil!dalsil!titus
  26. HAM radio (not on packet yet) KB4ABZ  *
  27.  
  28. "I can do everything through Him who gives me strength."
  29.  
  30.       Philippians 4:13 (NIV)
  31.                * * * * * * * * * * * * * * * * *
  32.  
  33. file FUNCMOD.TXT--this is the header for a file containing one or more 
  34.                     functions, as opposed to the file containing main().
  35.  
  36. /****************************************************************************/
  37. /*                                                                          */
  38. /*                             <filename>                                   */
  39. /*                                                                          */
  40. /****************************************************************************/
  41.  
  42. /* Change history:
  43.  *
  44.  *     Date    Version  Author   Description
  45.  *
  46.  */
  47.  
  48. /* Global functions contained in this module:
  49.  *
  50.  * <name>--<description>
  51.  *
  52.  */
  53.  
  54. /* System includes */
  55. #include <stdio.h>
  56.  
  57. /* Local includes */
  58.  
  59. /* DEFINEs */
  60.  
  61. /* TYPEDEFs */
  62.  
  63. /* Externs */
  64.  
  65. /* Static variables */
  66.  
  67. file MAINMOD.TXT--this is the header for a file containing main()
  68.  
  69. /****************************************************************************/
  70. /*                                                                          */
  71. /*                             <filename>                                   */
  72. /*                                                                          */
  73. /****************************************************************************/
  74.  
  75. /* <one-line description of program> */
  76.  
  77. /* Change history:
  78.  *
  79.  *     Date    Version  Author   Description
  80.  *
  81.  */
  82.  
  83. /* <detailed description of program, including inputs and outputs>
  84.  *
  85.  */
  86.  
  87. /* System includes */
  88. #include <stdio.h>
  89.  
  90. /* Local includes */
  91.  
  92. /* DEFINEs */
  93.  
  94. /* TYPEDEFs */
  95.  
  96. /* Global variables */
  97.  
  98. /* Static variables */
  99.  
  100. main( argc, argv )
  101. int argc;
  102. char *argv[];
  103. {
  104. }
  105.  
  106. file PROCHEAD.TXT--this is the header for a procedure
  107.  
  108. /****************************************************************************/
  109. /* <brief description of function> */
  110. /****************************************************************************/
  111. /* <declaration of calling parameters> */
  112.  
  113. /*
  114.  * Description:
  115.  *
  116.  * Return value:
  117.  *
  118.  * Globals input:
  119.  *
  120.  * Globals output:
  121.  *
  122.  * Error conditions:
  123.  *
  124.  * Other procedures called:
  125.  *
  126.  */
  127.  
  128.