EasyManuals Logo

HP A4500A - VMEbus Single Board Computer 744 Motherboard Programmer's Guide

HP A4500A - VMEbus Single Board Computer 744 Motherboard
109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #53 background imageLoading...
Page #53 background image
Chapter 4 53
Programming Guide
2. Manage the A/P Environment
Isolate the allocations and freeing of memory passed to the A/P
library to a single function. For example:
void *ubuf_ptr;
user_get_osi_buf (&ubuf_ptr, len,”data to put in ubuf”);
ap_snd (.., ubuf_ptr);
Do not statically initialize a cdata structure. For example, do not
use the statement:
a_assoc_req_env_t peer_application = {...};
Do not use the udata_length part of the cdata parameter for
inbound indications. Instead, calculate the length from the osi_buf
that is returned. Isolate this calculation to one routine.

Table of Contents

Other manuals for HP A4500A - VMEbus Single Board Computer 744 Motherboard

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP A4500A - VMEbus Single Board Computer 744 Motherboard and is the answer not in the manual?

HP A4500A - VMEbus Single Board Computer 744 Motherboard Specifications

General IconGeneral
BrandHP
ModelA4500A - VMEbus Single Board Computer 744 Motherboard
CategoryServer
LanguageEnglish

Related product manuals