~ubuntu-branches/debian/sid/upstart/sid

« back to all changes in this revision

Viewing changes to nih/child.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2006-12-13 17:27:37 UTC
  • mto: (16.1.6 feisty)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20061213172737-xtzw97b0cl4q7oc5
Tags: upstream-0.3.1
ImportĀ upstreamĀ versionĀ 0.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 * If @pid is -1 then this function is called when all processes
54
54
 * terminate.
55
55
 *
56
 
 * The watch can be cancelled by calling #nih_list_remove on the structure
 
56
 * The watch can be cancelled by calling nih_list_remove() on the structure
57
57
 * as they are held in a list internally.
58
58
 **/
59
59
typedef struct nih_child_watch {
67
67
 
68
68
NIH_BEGIN_EXTERN
69
69
 
70
 
NihChildWatch *nih_child_add_watch (void *parent, pid_t pid,
 
70
NihChildWatch *nih_child_add_watch (const void *parent, pid_t pid,
71
71
                                    NihReaper reaper, void *data);
72
72
 
73
73
void           nih_child_poll      (void);