POSIX.C File Reference

POSIX versions of the functions declared in OSspecific.H. More...

Include dependency graph for POSIX.C:

Go to the source code of this file.

Classes

class  directoryIterator
 A simple directory contents iterator. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 
 Foam::POSIX
 OS-specific functions implemented in POSIX.
 

Macros

#define EXT_SO   "so"
 

Functions

 defineTypeNameAndDebug (POSIX, 0)
 
static bool cwdPreference_ (Foam::debug::optimisationSwitch("cwd", 0))
 
static void redirects (const bool bg)
 
static void * loadLibrary (const Foam::fileName &libName)
 
static Foam::fileName cwd_P ()
 The physical current working directory path name (pwd -P). More...
 
static Foam::fileName cwd_L ()
 The logical current working directory path name. More...
 
static int collectLibsCallback (struct dl_phdr_info *info, size_t size, void *data)
 

Detailed Description

POSIX versions of the functions declared in OSspecific.H.

Original source file POSIX.C

Definition in file POSIX.C.

Macro Definition Documentation

◆ EXT_SO

#define EXT_SO   "so"

Definition at line 63 of file POSIX.C.

Referenced by Foam::dlOpen().

Function Documentation

◆ cwdPreference_()

static bool cwdPreference_ ( Foam::debug::optimisationSwitch("cwd", 0)  )
static

Referenced by Foam::cwd().

Here is the caller graph for this function:

◆ redirects()

static void redirects ( const bool  bg)
inlinestatic

Definition at line 89 of file POSIX.C.

References Foam::infoDetailLevel.

Referenced by Foam::system().

Here is the caller graph for this function:

◆ loadLibrary()

static void* loadLibrary ( const Foam::fileName libName)
inlinestatic

Definition at line 111 of file POSIX.C.

References fileName::isAbsolute(), and p.

Referenced by Foam::dlOpen(), and codedBase::updateLibrary().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ collectLibsCallback()

static int collectLibsCallback ( struct dl_phdr_info *  info,
size_t  size,
void *  data 
)
static

Definition at line 1980 of file POSIX.C.

References DynamicList< T, SizeMin >::append().

Referenced by Foam::dlLoaded().

Here is the call graph for this function:
Here is the caller graph for this function: