Plan B User's Manual


selectors ­ Get box information


selectorsrq    box
selectorsrep box 0 len buf
statusrep err


This RPC is issued when Plan B wants to get names for boxes contained on box. The selectors(2) system call sends such requests; name resolution does not require them.

The request sends just the box name.

The reply includes a null-terminated string with the set of names separated by white space (together with its length). The “0” is the off (offset) field used for other messages, but unused here.

If the box has no inner boxes, it is not considered an error. Instead, a null string is replied.

See also


Plan B User's Manual. First edition.