MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


File Formats                                              note(4)



NAME
     note - specify legal annotations

SYNOPSIS
     /usr/lib/note


DESCRIPTION
     Each file in this directory contains the NOTE  (also  NOTE)
     annotations  legal for a single tool.  The name of the file,
     by convention, should be the tool vendor's stock name,  fol-
     lowed  by  a hyphen, followed by the tool name. For example,
     for Sun's  locklint  tool  the  filename  should  be  SUNW-
     locklint.


     The file should contain the names of the annotations  under-
     stood  by  the  tool,  one per line.  For example, if a tool
     understands the following annotations:

       NOTE(NOTREACHED)
       NOTE(MUTEXPROTECTSDATA(listlock, listhead))




     then its file in /usr/lib/note should contain the entries:

       NOTREACHED
       MUTEXPROTECTSDATA




     Blank lines, and lines  beginning  with  a  pound  (#),  are
     ignored.


     While /usr/lib/note is the default  directory  tools  search
     for such files, they can be made to search other directories
     instead simply by setting environment variable  NOTEPATH  to
     contain the paths, separated by colons, of directories to be
     searched, e.g., /usr/mytool/note:/usr/lib/note.

USAGE
     These files are used by such tools whenever  they  encounter
     NOTEs  they  do  not understand.  If a file in /usr/lib/note
     contains the annotation, then it is valid. If no  such  file
     contains  the annotation, then the tool should issue a warn-
     ing complaining that it might be invalid.





SunOS 5.11          Last change: 17 Jan 1995                    1






File Formats                                              note(4)



ENVIRONMENT VARIABLES
     NOTEPATH    specify paths  to  be  searched  for  annotation
                 files. Paths are separated by colons (":").


SEE ALSO
     NOTE(3EXT)
















































SunOS 5.11          Last change: 17 Jan 1995                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™