returnsOnSuccess
P171795
predicate
Indicates that an operation or function completes successfully and yields a return value or proceeds to a specified outcome only when no errors occur.
All labels observed (3)
| Label | Occurrences |
|---|---|
| returnsOnSuccess canonical | 7 |
| returnValueOnSuccess | 2 |
| successReturn | 1 |
Description generation (PDg)
The one-sentence description above was generated by prompting gpt-5.1 with the predicate name and this instruction.
Instruction
Given a predicate that represents a relationship or action between entities, generate a one-sentence description explaining its meaning. # Instructions Focus on describing the relationship, not the entities themselves. # Response Format Begin the description with \' Indicates...\'
Input
Predicate: returnsOnSuccess
Generated description
Indicates that an operation or function completes successfully and yields a return value or proceeds to a specified outcome only when no errors occur.
Sample triples (10)
| Subject | Object |
|---|---|
| LineTo | nonzero ⓘ |
| CreateThread | handle to the new thread ⓘ |
| HeapFree | nonzero value ⓘ |
| WaitForMultipleObjects | WAIT_OBJECT_0 plus index of signaled object ⓘ |
| CreateSemaphore | handle to semaphore object via predicate surface "returnValueOnSuccess" ⓘ |
| PrintDlg | nonzero ⓘ |
| WSAAsyncSelect | 0 via predicate surface "returnValueOnSuccess" ⓘ |
| WSAWaitForMultipleEvents | index of the signaled event offset by WSA_WAIT_EVENT_0 via predicate surface "successReturn" ⓘ |
| WSAEnumProtocols | number of protocols ⓘ |
| WSARecvFrom | 0 ⓘ |