Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
x_libgen.h
Go to the documentation of this file.
00001 /* $Id: x_libgen.h,v 1.2 2004-02-28 21:05:05 eraxxon Exp $ */
00002 /* -*-Mode: C;-*- */
00003 /* * BeginRiceCopyright *****************************************************
00004  * 
00005  * ******************************************************* EndRiceCopyright */
00006 
00007 /* ====================================================================
00008  * ====================================================================
00009  *
00010  *
00011  * Nathan Tallent.
00012  *
00013  * Description:
00014  *
00015  * Header file extensions.
00016  *
00017  * The ANSI/ISO C++ standard does not include every routine that is
00018  * legally available in ANSI/ISO C.  Moreover, neither C++ nor C
00019  * include every routine within the standard UNIX specification
00020  * (OpenGroup).  This file provides that extra functionality for
00021  * ANSI/ISO C++ and C code.
00022  * 
00023  * Routines available in C are prefixed by c_.
00024  * Routines available in Unix are prefixed by ux_
00025  *
00026  * ====================================================================
00027  * ==================================================================== */
00028 
00029 #ifndef x_libgen_h
00030 #define x_libgen_h
00031 
00032 /*************************** System Include Files ***************************/
00033 
00034 /* #include <libgen.h> */
00035 
00036 /**************************** User Include Files ****************************/
00037 
00038 /*************************** Forward Declarations ***************************/
00039 
00040 /****************************************************************************/
00041 
00042 #if defined(__cplusplus)
00043 extern "C" {
00044 #endif
00045 
00046   /* NOTE: We provide our own implementations of these functions. */
00047 
00048   /* Unix */
00049   extern char* ux_basename(char *path);
00050   
00051   /* Unix */
00052   extern char* ux_dirname(char *path);
00053 
00054 #if defined(__cplusplus)
00055 } /* extern "C" */
00056 #endif
00057 
00058 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines