Every file containing C or Tcl code--whether it is a header file, a resource file, or a file that implements a host tool, a library of routines, or an application--must contain a standard file heading. The conventions in this section define the standard for the heading that must come at the beginning of every source file.
The file heading consists of the blocks described below. The blocks are separated by one or more empty lines (in Tcl, empty comment lines) and contain no empty lines within the block. This facilitates automated processing of the heading.
/* fooLib.c - foo subroutine library */ /* Copyright 1984-1995 Wind River Systems, Inc. */ /* modification history -------------------- 02a,15sep92,nfs added defines MAX_FOOS and MIN_FATS. 01b,15feb86,dnw added routines fooGet() and fooPut(); added check for invalid index in fooFind(). 01a,10feb86,dnw written. */