Print this page
12202 noise in example code in some section 3pool man pages

@@ -42,11 +42,11 @@
        function requires the privilege required by the underlying resource
        types referenced by the pool; generally, this requirement is equivalent
        to requiring superuser privilege.
 
 
-       The idtype parameter can be of the following types:
+       The idtype parameter can be one of the following types:
 
        P_PID
                    The id parameter is a pid.
 
 

@@ -63,12 +63,12 @@
 
        The pool_get_resource_binding() function returns the name of the
        resource of the supplied type to which the supplied process is bound.
 
 
-       The application must explicity free the memory allocated for the return
-       values for pool_get_binding() and pool_get_resource_binding().
+       The application must explicitly free the memory allocated for the
+       return values for pool_get_binding() and pool_get_resource_binding().
 
 RETURN VALUES
        Upon successful completion, pool_get_binding() returns the name of the
        pool to which the process is bound. Otherwise it returns NULL and
        pool_error(3POOL) returns the pool-specific error value.

@@ -148,11 +148,11 @@
          id_t pid = getpid();
 
          ...
 
          if (pool_set_binding("target", P_PID, pid) == PO_FAIL)
-                 (void) fprintf(stderr, "pool binding failed (\%d)\B{}n",
+                 (void) fprintf(stderr, "pool binding failed (%d)\n",
                           pool_error());
 
 
 
 ATTRIBUTES

@@ -174,6 +174,6 @@
 SEE ALSO
        libpool(3LIB), pool_error(3POOL), attributes(5)
 
 
 
-                                March 27, 2007         POOL_GET_BINDING(3POOL)
+                               January 18, 2020        POOL_GET_BINDING(3POOL)