Skip to Content
Volume 6A: Motif Programming Manual
book

Volume 6A: Motif Programming Manual

by David Brennan, Dan Heller, Paula Ferguson
September 1993
Intermediate to advanced
1014 pages
28h 26m
English
O'Reilly Media, Inc.
Content preview from Volume 6A: Motif Programming Manual
This discussion is merely presented as an overview, since the implementation details are beyond the scope of this
book. For example, UNIX signals cause problems in a number of ways. The parent process is sent signals when the
child dies or its process state changes. The child is also sent signals that are delivered to the parent by the user or other
outside forces. Different forms of UNIX require that process groups be set up in different ways to avoid other
problems with signals.
Another problem involves file descriptors that are set up as non−blocking files. If read() returns 0 with one of these
descriptors, you may not know whether there is nothing to read or the end of the file has been reached, which means
that the child process has terminated. Incidentally, popen() does not deal with any of these issues correctly, so
building a new solution is the best thing to do in the long run.
You should really consult the programmer's guide for your UNIX system for more information on the techniques used
to spawn new processes and communicate with them appropriately. Once you have a handle on those issues, it should
be relatively easy to redirect text from file descriptors using the toolkit. For more information on
XtAppAddInput(), including examples of how it can be used, see Volume Four, X Toolkit Intrinsics
Programming Manual.
22.3 Dynamic Message Symbols
The MessageDialog is used to display many different types of messages; the image in the dialog helps the user
identify the purpose of the dialog. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Volume 7A: XView Programming Manual

Volume 7A: XView Programming Manual

Dan Heller

Publisher Resources

ISBN: 9780596000431