Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/signal.c

    r55b1efd r4419c34  
    136136}
    137137
    138 /**
    139  * Just an empty function to get an unique pointer value for comparison.
    140  *
    141  * @param signo Signal number.
     138/** Just an empty function to get an unique pointer value for comparison.
     139 *
     140 * @param signo
    142141 */
    143142void __posix_hold_signal_handler(int signo)
     
    146145}
    147146
    148 /**
    149  * Empty function to be used as ignoring handler.
    150  *
    151  * @param signo Signal number.
     147/** Empty function to be used as ignoring handler.
     148 *
     149 * @param signo
    152150 */
    153151void __posix_ignore_signal_handler(int signo)
     
    156154}
    157155
    158 /**
    159  * Clear the signal set.
     156/** Clear the signal set.
    160157 *
    161158 * @param set Pointer to the signal set.
     
    170167}
    171168
    172 /**
    173  * Fill the signal set (i.e. add all signals).
     169/** Fill the signal set (i.e. add all signals).
    174170 *
    175171 * @param set Pointer to the signal set.
     
    184180}
    185181
    186 /**
    187  * Add a signal to the set.
     182/** Add a signal to the set.
    188183 *
    189184 * @param set Pointer to the signal set.
     
    199194}
    200195
    201 /**
    202  * Delete a signal from the set.
     196/** Delete a signal from the set.
    203197 *
    204198 * @param set Pointer to the signal set.
     
    214208}
    215209
    216 /**
    217  * Inclusion test for a signal set.
     210/** Inclusion test for a signal set.
    218211 *
    219212 * @param set Pointer to the signal set.
     
    228221}
    229222
    230 /**
    231  * Unsafe variant of the sigaction() function.
    232  * Doesn't do any checking of its arguments and
    233  * does not deal with thread-safety.
     223/** Unsafe variant of the sigaction() function.
     224 *  Doesn't do any checking of its arguments and
     225 *  does not deal with thread-safety.
    234226 *
    235227 * @param sig
     
    251243}
    252244
    253 /**
    254  * Sets a new action for the given signal number.
     245/** Sets a new action for the given signal number.
    255246 *
    256247 * @param sig Signal number to set action for.
     
    285276}
    286277
    287 /**
    288  * Sets a new handler for the given signal number.
     278/** Sets a new handler for the given signal number.
    289279 *
    290280 * @param sig Signal number to set handler for.
     
    314304} signal_queue_item;
    315305
    316 /**
    317  * Queue blocked signal.
     306/** Queue blocked signal.
    318307 *
    319308 * @param signo Signal number.
     
    333322
    334323
    335 /**
    336  * Executes an action associated with the given signal.
     324/** Executes an action associated with the given signal.
    337325 *
    338326 * @param signo Signal number.
     
    378366}
    379367
    380 /**
    381  * Raise all unblocked previously queued signals.
     368/** Raise all unblocked previously queued signals.
    382369 */
    383370static void _dequeue_unblocked_signals()
     
    403390}
    404391
    405 /**
    406  * Raise a signal for the calling process.
     392/** Raise a signal for the calling process.
    407393 *
    408394 * @param sig Signal number.
     
    423409}
    424410
    425 /**
    426  * Raises a signal for a selected process.
     411/** Raises a signal for a selected process.
    427412 *
    428413 * @param pid PID of the process for which the signal shall be raised.
     
    461446}
    462447
    463 /**
    464  * Send a signal to a process group. Always fails at the moment because of
    465  * lack of this functionality in HelenOS.
     448/** Send a signal to a process group. Always fails at the moment because of
     449 *  lack of this functionality in HelenOS.
    466450 *
    467451 * @param pid PID of the process group.
     
    475459}
    476460
    477 /**
    478  * Outputs information about the signal to the standard error stream.
     461/** Outputs information about the signal to the standard error stream.
    479462 *
    480463 * @param pinfo SigInfo struct to write.
     
    488471}
    489472
    490 /**
    491  * Outputs information about the signal to the standard error stream.
     473/** Outputs information about the signal to the standard error stream.
    492474 *
    493475 * @param signum Signal number.
     
    504486}
    505487
    506 /**
    507  * Manipulate the signal mask of the calling thread.
     488/** Manipulate the signal mask of the calling thread.
    508489 *
    509490 * @param how What to do with the mask.
     
    544525}
    545526
    546 /**
    547  * Manipulate the signal mask of the process.
     527/** Manipulate the signal mask of the process.
    548528 *
    549529 * @param how What to do with the mask.
Note: See TracChangeset for help on using the changeset viewer.