Package conary :: Package lib :: Module misc'
[hide private]
[frames] | no frames]

Module misc'



miscelaneous low-level C functions for conary

Functions [hide private]
 
countOpenFileDescriptors(...)
 
depSetSplit(...)
 
depSplit(...)
 
dynamicSize(...)
 
exists(...)
returns a boolean reflecting whether a file (even a broken symlink) exists in the filesystem
 
malloced(...)
amount of memory currently allocated through malloc()
 
massCloseFileDescriptors(...)
 
mkdirIfMissing(...)
Creates a directory if the file does not already exist.
 
pread(...)
 
recvmsg(...)
 
removeIfExists(...)
unlinks a file if it exists; silently fails if it does not exist.
 
res_init(...)
 
sendmsg(...)
 
unpack(...)
Function Details [hide private]

mkdirIfMissing(...)

 
Creates a directory if the file does not already exist. EEXIST is ignored.

removeIfExists(...)

 
unlinks a file if it exists; silently fails if it does not exist. returns a boolean indicating whether or not a file was removed