Changes

613 bytes added ,  01:48, 15 January 2018
→‎Loader Config Keys: Add StdioSockets
Line 63: Line 63:     
* 8: [[#AppletWorkaround]] [RECOGNITION-MANDATORY]
 
* 8: [[#AppletWorkaround]] [RECOGNITION-MANDATORY]
 +
 +
* 9: [[#StdioSockets]]
    
==== EndOfList ====
 
==== EndOfList ====
Line 167: Line 169:  
* '''Value[0]:''' AppletResourceUserId
 
* '''Value[0]:''' AppletResourceUserId
 
* '''Value[1]:''' Ignored.
 
* '''Value[1]:''' Ignored.
 +
 +
==== StdioSockets ====
 +
Use these sockets for standard input/output/error. There must be an [[#OverrideService]] key present for either <code>bsd:u</code> or <code>bsd:s</code>, depending on which is indicated.
 +
 +
* '''Key:''' 9
 +
* '''IsRecognitionMandatory:''' False.
 +
* '''IsPresenceMandatory:''' False.
 +
* '''Value[0]:''' First word: stdout file descriptor, second word: stdin file descriptor
 +
* '''Value[1]:''' Third word: stderr file descriptor, fourth word: SocketService
 +
 +
enum LoaderConfigSocketService {
 +
  LoaderConfigSocketService_BsdU = 0,
 +
  LoaderConfigSocketService_BsdS = 1,
 +
};
117

edits