def egd(path, bytes=_unspecified):
 if (not isinstance(path, _builtin_bytes)):
  raise TypeError('path must be a byte string')
 if (bytes is _unspecified):
  bytes = 255
 elif (not isinstance(bytes, int)):
  raise TypeError('bytes must be an integer')
 return _lib.RAND_egd_bytes(path, bytes)

def egd ( path , bytes = _unspecified ) : if ( not isinstance ( path , _builtin_bytes ) ) : raise TypeError ( 'path must be a byte string' ) if ( bytes is _unspecified ) : bytes = 255 elif ( not isinstance ( bytes , int ) ) : raise TypeError ( 'bytes must be an integer' ) return _lib . RAND_egd_bytes ( path , bytes )
query an entropy gathering daemon for random data and add it to the prng .