Specification of package Tgx.Posix.File_Status







 ========================================================================= --
 ===                                                                   === --
 ===                 Top Graph'X CORBA Implementation                  === --
 ===                                                                   === --
 ===                 Copyright (c) 1996, Top Graph'X.                  === --
 ===                                                                   === --
 ===                     --- Copyright Notice ---                      === --
 ===                                                                   === --
 ===    This software is protected as an unpublished work under the    === --
 ===     Copyright Act of 1976.  All rights reserved.  Top Graph'X.    === --
 ===                                                                   === --
 ========================================================================= --

with Tgx.Posix_Types,
     System;
package Tgx.Posix.File_Status is

   type Status is private;
   type File_Time is private;

    ********************************
    Operations to Obtain File Status
    ********************************

   function Get_File_Status (Pathname : in Tgx.Posix.Pathname) return Status;

   function Is_Directory (File_Status : in Status) return Boolean;

   function Is_Regular_File (File_Status : in Status) return Boolean;

   procedure Get_File_Times ( Pathname : in Tgx.Posix.Pathname ;
                              Created  : out File_Time ;
                              Accessed : out File_Time ;
                              Modified : out File_Time) ;

   procedure Set_File_Times ( Pathname : in Tgx.Posix.Pathname ;
                              Created  : in File_Time ;
                              Accessed : in File_Time ;
                              Modified : in File_Time) ;
private
   type Status is mod 2 ** 32;

    type File_Time is mod 2 ** 32 ;
    for File_Time'size use 32 ;
end Tgx.Posix.File_Status;



List of definition uses










This page was generated by PrismTech's ada2html on Friday Mai 12 2006 16:18