cc [ flag... ] file... -lkstat [ library... ]
int kstat_close(kstat_ctl_t *kc);
kstat_open() initializes a kstat control structure, which provides access to the kernel statistics library. It returns a pointer to this structure, which must be supplied as the kc argument in subsequent libkstat function calls.
kstat_close() frees all resources that were associated with kc. This is done automatically on exit.2 and execve() (see exec.2
kstat_close() returns 0 on success, -1 on failure.
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97