Print this page
4023 - Typo in file(1) manpage and various others

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3papi/papiPrintersList.3papi
          +++ new/usr/src/man/man3papi/papiPrintersList.3papi
   1    1  '\" te
   2    2  .\" Copyright (c) 2007, 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 PAPIPRINTERSLIST 3PAPI "Jan 17, 2007"
        6 +.TH PAPIPRINTERSLIST 3PAPI "Sep 10, 2013"
   7    7  .SH NAME
   8    8  papiPrintersList, papiPrinterQuery, papiPrinterAdd, papiPrinterModify,
   9    9  papiPrinterRemove, papiPrinterDisable, papiPrinterEnable, papiPrinterPause,
  10   10  papiPrinterResume, papiPrinterPurgeJobs, papiPrinterListJobs,
  11   11  papiPrinterGetAttributeList, papiPrinterFree, papiPrinterListFree \- print
  12   12  object manipulation
  13   13  .SH SYNOPSIS
  14   14  .LP
  15   15  .nf
  16   16  cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-lpapi\fR [ \fIlibrary\fR\&.\|.\|. ]
↓ open down ↓ 380 lines elided ↑ open up ↑
 397  397  
 398  398              if (list != NULL) {
 399  399                  char *name = "unknown";
 400  400                  char *uri = "unknown";
 401  401  
 402  402                  (void) papiAttributeListGetString(list, NULL,
 403  403                                      "printer-name", &name);
 404  404  
 405  405                  (void) papiAttributeListGetString(list, NULL,
 406  406                                      "printer-uri-supported", &uri);
 407      -                printf("%s is %s\n", name, uri);
      407 +                printf("%s is %s\en", name, uri);
 408  408              }
 409  409          }
 410  410          papiPrinterListFree(printers);
 411  411      }
 412  412  
 413  413      papiServiceDestroy(svc);
 414  414  
 415  415      exit(0);
 416  416  }
 417  417  .fi
↓ open down ↓ 125 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX