New answers tagged ipc
Data written to a file descriptor that was never opened does not go anywhere. The write system call fails with EBADF (bad file descriptor). But as meuh remarked, open is not the only way to open a file. There's also pipe to create a pair of pipe ends, socketpair to create a pair of sockets that talk to each other, socket and accept to create sockets that ...
If the service has an object implementing org.freedesktop.DBus.ObjectManager, its method GetManagedObjects returns “all objects, interfaces and properties in a single method call.” For example, UDisks2 has such an object.
Top 50 recent answers are included