anchor.diff:  ###############################  rtapi_app_exit()  #####################################################
   
       print >>f, "void rtapi_app_exit(void)\n{"
  -    
  +
       print >>f, "    hal_exit(comp_id);"
       print >>f, "}\n"
   
  
positive.code: 
      doc = finddoc('descr')
      if doc and doc[1]:
          print >>f, ".SH DESCRIPTION\n"
          print >>f, "%s" % doc[1]
  
      if functions:
          print >>f, ".SH FUNCTIONS"
          for _, name, fp, doc in finddocs('funct'):
              print >>f, ".TP"
              if name != None and name != "_":
                  print >>f, "\\fB%s.N.%s.funct\\fR" % (comp_name, name) ,
              else :
                  print >>f, "\\fB%s.N.funct\\fR" % comp_name ,
  	    print >>f, "\nOR"
              if name != None and name != "_":
                  print >>f, "\\fB<newinstname>.%s.funct\\fR"  % name ,
              else :
                  print >>f, "\\fB<newinstname>.funct\\fR" ,
              if fp:
                  print >>f, "(requires a floating-point thread)"
              else:
                  print >>f
  	    print >>f, ".HP"
              print >>f, doc
  
  
      lead = ".TP"
      print >>f, ".SH PINS"
      for _, name, type, array, dir, doc, value in finddocs('pin'):
          print >>f, lead
          print >>f, ".B %s.N.%s \\fR" % (comp_name, name),
  
negative.code: 
      doc = finddoc('see_also')
      if doc and doc[1]:
          print >>f, ".SH SEE ALSO"
          print >>f, ".HP"
          print >>f, ".HP"
          print >>f, "%s" % doc[1]
  
      doc = finddoc('notes')
      if doc and doc[1]:
          print >>f, ".SH NOTES"
          print >>f, ".HP"
          print >>f, ".HP"
          print >>f, "%s" % doc[1]
  
      doc = finddoc('author')
      if doc and doc[1]:
          print >>f, ".SH AUTHOR"
          print >>f, ".HP"
          print >>f, ".HP"
          print >>f, "%s" % doc[1]
  
      doc = finddoc('license')
      if doc and doc[1]:
          print >>f, ".SH LICENSE"
          print >>f, ".HP"
          print >>f, ".HP"
          print >>f, "%s" % doc[1]
  
  ###########################################################
  
  
  def process(filename, mode, outfilename):
      tempdir = tempfile.mkdtemp()
  