Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mas_close(3mas) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mas(3mas)

mas_open(3mas)






       mas_close(3mas)                                      mas_close(3mas)


       NAME
             mas_close - close a metric registration file for consumer use

       SYNOPSIS
             cc [options] file -lmas
             #include <mas.h>
             int mas_close(int md);

       DESCRIPTION
             mas_close closes the metric registration file associated with
             the metric descriptor, md.  The metric descriptor, md, must
             refer to a file that was previously opened with mas_open.
             mas_close deallocates memory and destroys any memory mappings
             that were set up by mas_open.

          Return Values
             On success, mas_close returns 0.

             On failure, mas_close returns -1 and sets mas_errno to
             identify the error.

          Errors
             MAS_INVALIDARG - invalid metric descriptor
                   The metric descriptor, md, that was passed to mas_close
                   does not correspond to a metric registration file
                   previously opened with mas_open.

       REFERENCES
             mas(3mas), mas_open(3mas)



















                           Copyright 1994 Novell, Inc.               Page 1








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026