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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3pool/pool_resource_create.3pool
          +++ new/usr/src/man/man3pool/pool_resource_create.3pool
   1    1  '\" te
   2    2  .\" Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    4  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    5  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH POOL_RESOURCE_CREATE 3POOL "January 15, 2020"
        6 +.TH POOL_RESOURCE_CREATE 3POOL "January 18, 2020"
   7    7  .SH NAME
   8    8  pool_resource_create, pool_resource_destroy, pool_resource_info,
   9    9  pool_query_resource_components, pool_resource_transfer, pool_resource_xtransfer
  10   10  \- resource pool resource manipulation functions
  11   11  .SH SYNOPSIS
  12   12  .nf
  13   13  cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpool\fR [ \fIlibrary\fR\&.\|.\|. ]
  14   14  #include <pool.h>
  15   15  
  16   16  \fBpool_resource_t *\fR\fBpool_resource_create\fR(\fBpool_conf_t *\fR\fIconf\fR,
↓ open down ↓ 275 lines elided ↑ open up ↑
 292  292  #include <stdio.h>
 293  293  
 294  294  \&...
 295  295  
 296  296  pool_conf_t *conf;
 297  297  pool_resource_t *resource;
 298  298  \&...
 299  299  
 300  300  if ((resource = pool_resource_create(conf, "pset",
 301  301      "foo")) == NULL) {
 302      -    (void) fprintf(stderr, "Cannot create resource\\B{}n");
      302 +    (void) fprintf(stderr, "Cannot create resource\\n");
 303  303      ...
 304  304  }
 305  305  .fi
 306  306  .in -2
 307  307  
 308  308  .SH ATTRIBUTES
 309  309  See \fBattributes\fR(5) for descriptions of the following attributes:
 310  310  .sp
 311  311  
 312  312  .sp
↓ open down ↓ 15 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX