Loading...
Searching...
No Matches
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

namespace  Foam
 Namespace for OpenFOAM.
namespace  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).
static Foam::fileName cwd_L ()
 The logical current working directory path name.
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.

Function Documentation

◆ cwdPreference_()

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

References Foam::debug::optimisationSwitch().

Referenced by Foam::cwd().

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

◆ redirects()

void redirects ( const bool bg)
inlinestatic

Definition at line 89 of file POSIX.C.

References Foam::infoDetailLevel.

Referenced by Foam::system(), and Foam::system().

Here is the caller graph for this function:

◆ loadLibrary()

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

Definition at line 111 of file POSIX.C.

References fileName::isAbsolute(), p, and Foam::stringOps::split().

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

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

◆ collectLibsCallback()

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

Definition at line 1981 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: