RCCE_recv_test.3 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .TH RCCE 3 2010-02-04 "RCCE MANPAGE" "RCCE Library"
  2. .SH NAME
  3. RCCE_recv_test \- RCCE receive message
  4. .SH SYNOPSIS
  5. .B #include <rcce.h>
  6. .sp
  7. .BI "int RCCE_recv_test(char *" privbuf ", size_t" size ",int" ID ",int * " test );
  8. .sp
  9. GORY version
  10. .sp
  11. .BI "int RCCE_recv(char *" privbuf ",volatile char * " combuf ",size_t " combufsize ",RCCE_FLAG * " ready ",RCCE_FLAG * " sent ",size_t " size ",int " ID );
  12. .SH DESCRIPTION
  13. .BR RCCE_recv_test()
  14. is the non-blocking version of RCCE_recv(). It returns immediately. It does not
  15. wait for the required message to actually arrive. If the message has arrived, it is stored in
  16. the proper location in private memory, and the variable test is set to one. If the
  17. message has not arrived, test is set to zero.
  18. .TP 10
  19. .B privbuf
  20. Starting address (private memory) of data to be received.
  21. .TP
  22. .B size
  23. Size of message in bytes.
  24. .TP
  25. .B ID
  26. Rank of target UE.
  27. .TP
  28. .B test
  29. Variable that indicates whether the receive was (1) or was not (0) successful.
  30. .SH DESCRIPTION (GORY)
  31. .BR RCCE_recv_test()
  32. is the non-blocking version of RCCE_recv(). It returns immediately. It does not
  33. wait for the required message to actually arrive. If it has, it is stored in the
  34. proper location in private memory and the variable test is set to one.
  35. If it hasn.t, test is set to zero.
  36. .TP
  37. .B
  38. privbuf
  39. Starting address (private memory) of data to be received.
  40. .TP
  41. .B
  42. combuf
  43. Starting address of intermediate MPB memory through which data are transferred.
  44. .TP
  45. .B
  46. combuf_size
  47. Size in bytes of intermediate space in MPB used for this communication.
  48. .TP
  49. .B
  50. ready
  51. Flag variable that indicates whether the receiver is ready to receive message.
  52. .TP
  53. .B
  54. sent
  55. Flag variable that indicates that the message has been sent.
  56. .TP
  57. .B
  58. size
  59. Size of message in bytes.
  60. .TP
  61. .B
  62. ID
  63. Rank of target UE.
  64. .TP
  65. .B
  66. test
  67. Variable that indicates whether the receive was (1) or was not (0) successful.
  68. .SH "RETURN VALUE"
  69. Upon successful completion
  70. .BR RCCE_recv_test()
  71. returns
  72. .BR RCCE_SUCCESS .
  73. .SH ERRORS
  74. Look in
  75. .BR rcce.h
  76. for additional error codes.
  77. .SH "SEE ALSO"
  78. rcce.h(5)
  79. .SH EXAMPLE
  80. .PP
  81. To be supplied.