Changeset 389


Ignore:
Timestamp:
Apr 6, 2009, 1:04:43 AM (12 years ago)
Author:
khorben
Message:

Merge from upstream

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/System/Sources/libc/include/sys/wait.h

    r284 r389  
    1 /* $Id: wait.h,v 1.9 2008/10/31 19:16:37 khorben Exp $ */
    2 /* Copyright (c) 2008 Pierre Pronchery <khorben@defora.org> */
     1/* $Id: wait.h,v 1.11 2009/04/05 23:00:39 khorben Exp $ */
     2/* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */
    33/* This file is part of DeforaOS System libc */
    44/* This program is free software: you can redistribute it and/or modify
     
    4040# define WIFCONTINUED(status)   (0)     /* FIXME */
    4141# define WIFEXITED(status)      ((status & 0x7f) == 0x00)
    42 # define WIFSIGNALED(status)    (0)     /* FIXME */
     42# define WIFSIGNALED(status)    ((status & 0x7f) != 0x7f \
     43                && (status & 0x7f) != 0x00)
    4344# define WIFSTOPPED(status)     ((status & 0x7f) == 0x7f)
    4445# define WSTOPSIG(status)       ((status >> 8) & 0xff)
Note: See TracChangeset for help on using the changeset viewer.