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

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7i/agpgart_io.7i
          +++ new/usr/src/man/man7i/agpgart_io.7i
   1    1  '\" te
   2    2  .\" Copyright (c) 2008, 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 AGPGART_IO 7I "Sep 25, 2008"
        6 +.TH AGPGART_IO 7I "Sep 10, 2013"
   7    7  .SH NAME
   8    8  agpgart_io \- Solaris agpgart driver I/O control operations
   9    9  .SH SYNOPSIS
  10   10  .LP
  11   11  .nf
  12   12  #include <sys/agpgart.h>
  13   13  .fi
  14   14  
  15   15  .SH DESCRIPTION
  16   16  .sp
↓ open down ↓ 755 lines elided ↑ open up ↑
 772  772          size_t maplen;
 773  773  
 774  774          if((fd = open(AGP_DEVICE, O_RDWR))== -1) {
 775  775                  printf("open AGP_DEVICE error with %d\en", errno);\e
 776  776                  exit(-1);
 777  777          }
 778  778          printf("device opened\en");
 779  779  
 780  780          ret = ioctl(fd, AGPIOC_INFO, &agpinfo);
 781  781          if(ret == -1) {
 782      -                printf("Get info error %d\n", errno);
      782 +                printf("Get info error %d\en", errno);
 783  783                  exit(-1);
 784  784          }
 785  785          printf("AGPSTAT is %x\en", agpinfo.agpi_mode);
 786  786          printf("APBASE is %x\en", agpinfo.agpi_aperbase);
 787  787          printf("APSIZE is %dMB\en", agpinfo.agpi_apersize);
 788  788          printf("pg_total is %d\en", agpinfo.agpi_pgtotal);
 789  789  
 790  790          ret = ioctl(fd, AGPIOC_ACQUIRE);
 791  791          if(ret == -1) {
 792  792                  printf(" Acquire GART error %d\en", errno);
↓ open down ↓ 134 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX