#NEWLINE# def get_command_line( self ) : #NEWLINE# #INDENT# buf = array ( 'B' , ( [ 0 ] * IOCTL_BUFSIZE ) ) #NEWLINE# pack_into ( '=5L' , buf , 0 , * [ IOCTL_BUFSIZE , PROCESS_REQUEST , 327681 , ( IOCTL_BUFSIZE - 24 ) , ( IOCTL_BUFSIZE - 24 ) ] ) #NEWLINE# ioctl ( self . fd , IOCTL_MAILBOX , buf , True ) #NEWLINE# r = unpack_from ( ( '=5L' + res_fmt ) , buf , 0 ) #NEWLINE# if ( size [ 1 ] != REQUEST_SUCCESS ) : #NEWLINE# #INDENT# raise MailBoxException ( 'Request failed' , 'get_command_line' ) #NEWLINE# #UNINDENT# assert ( r [ 4 ] & 2147483648 ) #NEWLINE# size = ( r [ 4 ] & ( ~ 2147483648 ) ) #NEWLINE# return unpack_from ( ( '=%ds' % size ) , buf , 20 ) [ 0 ]