bes  Updated for version 3.19.1
SocketUtilities Class Reference

Static Public Member Functions

static string create_temp_name ()
 
static char * ltoa (long val, char *buf, int base)
 

Detailed Description

Definition at line 40 of file SocketUtilities.h.

Member Function Documentation

◆ create_temp_name()

string SocketUtilities::create_temp_name ( )
static

Create a uniq name which is used to create a unique name for a Unix socket in a client . or for creating a temporary file.

Returns
uniq name

Definition at line 67 of file SocketUtilities.cc.

◆ ltoa()

char * SocketUtilities::ltoa ( long  val,
char *  buf,
int  base 
)
static

Routine to convert a long int to the specified numeric base, from 2 to 36. You must get sure the buffer val is big enough to hold all the digits for val or this routine may be UNSAFE.

Parameters
valthe value to be converted.
bufA buffer where to place the conversion.
basebase number system to use
Returns
Pointer to the buffer buf.

Definition at line 43 of file SocketUtilities.cc.


The documentation for this class was generated from the following files: