RCCE_malloc.3 773 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .TH RCCE 3 2010-02-04 "RCCE MANPAGE" "RCCE Library"
  2. .SH NAME
  3. RCCE_malloc \- allocates bytes in the MPB (GORY)
  4. .SH SYNOPSIS
  5. .B #include <rcce.h>
  6. .sp
  7. .BI "volatile char * RCCE_malloc(size_t " size );
  8. .SH DESCRIPTION
  9. .BR RCCE_malloc
  10. allocates size bytes in MPB in the address range assigned to the calling UE.
  11. This is a collective routine that must be called jointly by all UEs. Size must
  12. be a multiple of 32, and return values will be aligned on 32-byte boundaries.
  13. .TP
  14. .B size
  15. The number of bytes to allocate in memory.
  16. .SH "RETURN VALUE"
  17. Upon successful completion
  18. .BR RCCE_malloc()
  19. returns a char * pointer to the start of the allocated bytes.
  20. .SH ERRORS
  21. Look in
  22. .BR rcce.h
  23. for additional error codes.
  24. .SH "SEE ALSO"
  25. rcce.h(5)
  26. .SH EXAMPLE
  27. .PP
  28. To be supplied.