Everything

 

long wait_sem (long semnum)


[Description]

-

Defines the semaphore specified by semnum.

-

When the semaphore has been defined normally, 1 must be returned. Otherwise, 0 must be returned.

-

This routine is necessary when using a standard library, which was created by the standard library generator with the reent option specified.

[Return value]

Normal: 1

Error: 0

[Parameters]

semnum Semaphore ID