amaru_alloc_buffer

Call this subroutine to create an IPC datagram buffer for alarm messages. Two calls should be made, one for a write buffer, and one for a read buffer.

Syntax

amaru_alloc_buffer ( alarm_write_buffer, alarm_write_len,

                    alarm_write_body);

IPCDG **alarm_write_buffer;

int *alarm_write_len;

char **alarm_write_body;

amaru_alloc_buffer( alarm_read_buffer, alarm_read_len,

                   alarm_read_body);

IPCDG **alarm_read_buffer;

int *alarm_read_len;

char **alarm_read_body;

Input Arguments

None.

Output Arguments

alarm_write_buffer

Address of datagram write buffer

alarm_write_len

Write buffer length

alarm_write_body

Pointer to address of write message within buffer

alarm_read_buffer

Address of datagram read buffer

alarm_read_len

Read buffer length

alarm_read_body

Pointer to address of read message within buffer

Return Value

None.

More information

Application subroutines for field definitions: Alarm Management API.