1lgrp_fini(3LGRP)       Locality Group Library Functions       lgrp_fini(3LGRP)
2
3
4

NAME

6       lgrp_fini - finished using lgroup interface
7

SYNOPSIS

9       cc [ flag... ] file... -llgrp [ library... ]
10       #include <sys/lgrp_user.h>
11
12       int lgrp_fini(lgrp_cookie_t cookie);
13
14

DESCRIPTION

16       The  lgrp_fini()  function  takes  a  cookie, frees the snapshot of the
17       lgroup hierarchy created by lgrp_init(3LGRP), and  cleans  up  anything
18       else  set up by lgrp_init().  After this function is called, any memory
19       allocated and returned by the lgroup interface might no longer be valid
20       and should not be used.
21

RETURN VALUES

23       Upon  successful  completion,  0 is returned. Otherwise, −1 is returned
24       and errno is set to indicate the error.
25

ERRORS

27       The lgrp_fini() function will fail if:
28
29       EINVAL    The cookie is not valid.
30
31

ATTRIBUTES

33       See attributes(5) for descriptions of the following attributes:
34
35
36
37
38       ┌─────────────────────────────┬─────────────────────────────┐
39       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
40       ├─────────────────────────────┼─────────────────────────────┤
41       │Interface Stability          │Evolving                     │
42       ├─────────────────────────────┼─────────────────────────────┤
43       │MT-Level                     │MT-Safe                      │
44       └─────────────────────────────┴─────────────────────────────┘
45

SEE ALSO

47       lgrp_init(3LGRP),       lgrp_cookie_stale(3LGRP),        liblgrp(3LIB),
48       attributes(5)
49
50
51
52SunOS 5.11                        16 Apr 2003                 lgrp_fini(3LGRP)
Impressum