Package schrodinger :: Package test :: Module darwinconsole :: Class Utmpx
[hide private]
[frames] | no frames]

Class Utmpx

   object --+        
            |        
    ??._CData --+    
                |    
_ctypes.Structure --+
                    |
                   Utmpx

This struct utmpx definition is only correct on Darwin.

Instance Methods [hide private]
 
__repr__(self)
repr(x)

Inherited from _ctypes.Structure: __init__, __new__

Inherited from unreachable._CData: __ctypes_from_outparam__, __hash__, __reduce__, __setstate__

Inherited from object: __delattr__, __format__, __getattribute__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _fields_ = (('ut_user', <class 'schrodinger.test.darwinconsole...
  tv_sec = <Field type=c_int, ofs=300, size=4>
  tv_usec = <Field type=c_int, ofs=304, size=4>
  unused = <Field type=c_int_Array_16, ofs=564, size=64>
  ut_host = <Field type=c_char_Array_256, ofs=308, size=256>
  ut_id = <Field type=c_char_Array_4, ofs=256, size=4>
  ut_line = <Field type=c_char_Array_32, ofs=260, size=32>
  ut_pid = <Field type=c_int, ofs=292, size=4>
  ut_type = <Field type=c_short, ofs=296, size=2>
  ut_user = <Field type=c_char_Array_256, ofs=0, size=256>
Properties [hide private]

Inherited from unreachable._CData: _b_base_, _b_needsfree_

Inherited from unreachable._CData (private): _objects

Inherited from object: __class__

Method Details [hide private]

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

_fields_

Value:
(('ut_user',
  <class 'schrodinger.test.darwinconsole.c_char_Array_256'>),
 ('ut_id', <class 'schrodinger.test.darwinconsole.c_char_Array_4'>),
 ('ut_line', <class 'schrodinger.test.darwinconsole.c_char_Array_32'>)\
,
 ('ut_pid', <class 'ctypes.c_int'>),
 ('ut_type', <class 'ctypes.c_short'>),
 ('tv_sec', <class 'ctypes.c_int'>),
...