The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

Cif_Filename (3)
  • >> Cif_Filename (3) ( Solaris man: Библиотечные вызовы )
  • 
    NAME
         Cif_Filename - Returns a pointer to the actual file name  of
         an opened CIF
    
    SYNOPSIS
         #define CIF_VERSION 2
         #include <cif.h>
    
         char *Cif_Filename (cifd)
         int cifd;
    
    IMPLEMENTATION
         All Sun SPARC systems
    
    DESCRIPTION
         The Cif_Filename routine returns the address of  the  actual
         name of the file that is the object of the cifd argument.
    
         The Cif_Filename routine accepts the following argument:
    
         cifd Identifies the CIF.
    
         The cifd descriptor is assigned by the  Cif_Open(3)  routine
         or  the Cif_Cifconv(3) routine and must be used for all sub-
         sequent references to  the  CIF.   For  a  CIF  opened  with
         Cif_Open(3),  the  returned  value  is the first argument of
         Cif_Open. For a CIF opened with Cif_Cifconv(3),  the  return
         value is the binary version of the file (see Cif_Cifconv).
    
         CIF_VERSION defines the library version.  The default is  1.
         The  newest  version  is 2 and should be used with this rou-
         tine.
    
         See the Cif(3) man page for a discussion about CIF  informa-
         tion, format, and versions.
    
    EXAMPLES
         The following example returns the actual file  name  of  the
         CIF   converted   and  opened  by  the  Cif_Cifconv  routine
         (myprogram.TT).
          int  records[]  =  {   CIF_CIFHDR,   CIF_ENTRY,   CIF_UNIT,
         CIF_ENDUNIT, 0 };
          int mycif;
          char *fname;
              .
              .
              .
          mycif   =   Cif_Cifconv   ("myprogram.T",   "r",   records,
         CIF_VERSION, 1);
              .
              .
              .
    
          fname = Cif_Filename (mycif);
              .
              .
              .
    
    SEE ALSO
         Cif(3) for general information about CIFs
         Cif_Cifconv(3),       Cif_Close(3),        Cif_Duplicate(3),
         Cif_Errstring(3),       Cif_Free(3),       Cif_Getrecord(3),
         Cif_Memmode(3),        Cif_Msginsert(3),        Cif_Open(3),
         Cif_Release(3)  for  information  about  general CIF library
         routines
         Cif_Getfiledir(3),  Cif_Getunitdir(3),  Cif_Recgroup(3)  for
         information  about  binary-format  specific CIF library rou-
         tines
    
         cifconv(1) for information  about  ASCII  to  binary  format
         conversion in the
    
         Compiler information file CIF Compiler information  Compiler
         listings
    
    
    
    


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру