Skip to content

Commit

Permalink
iox-#2209 Change return type mq_receive and mq_timedreceive
Browse files Browse the repository at this point in the history
The return type has been modified from ssize_t to mqd_t
  • Loading branch information
khromenokroman committed Aug 30, 2024
1 parent b7171a8 commit d3e0595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iceoryx_platform/win/include/iceoryx_platform/mqueue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ inline int mq_close(mqd_t mqdes)
//{
//}

inline ssize_t mq_receive(mqd_t mqdes, char* msg_ptr, size_t msg_len, unsigned int* msg_prio)
inline mqd_t mq_receive(mqd_t mqdes, char* msg_ptr, size_t msg_len, unsigned int* msg_prio)
{
return 0;
}

inline ssize_t
inline mqd_t
mq_timedreceive(mqd_t mqdes, char* msg_ptr, size_t msg_len, unsigned int* msg_prio, const struct timespec* abs_timeout)
{
return 0;
Expand Down

0 comments on commit d3e0595

Please sign in to comment.