Changeset c38f5f16 in rtems for c/src/exec/posix/src/seminit.c


Ignore:
Timestamp:
Nov 18, 1999, 7:55:28 PM (22 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
97d7eaf8
Parents:
8c5cc6b2
Message:

Added EINVAL for passing a NULL pointer in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/seminit.c

    r8c5cc6b2 rc38f5f16  
    3131  POSIX_Semaphore_Control   *the_semaphore;
    3232
     33  if ( !*sem )
     34    set_errno_and_return_minus_one( EINVAL );
     35   
     36
    3337  status = _POSIX_Semaphore_Create_support(
    3438    NULL,
Note: See TracChangeset for help on using the changeset viewer.