unix: Implement SO_RCVBUF
Implemented `UnixBufferQueue::SetCapacity` so that `setsockopt` with `SO_RCVBUF` will not always return an error. Change-Id: I2d9be84633f84474fac64b379e9f89ef2751a094 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6816 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
2b514ce830
commit
303ff56a5f
@@ -44,6 +44,7 @@ ssize_t ring_buffer_user_write(struct ring_buffer *buffer, const uint8 *data, ss
|
||||
size_t ring_buffer_peek(struct ring_buffer *buffer, size_t offset, void *data,
|
||||
size_t length);
|
||||
int32 ring_buffer_get_vecs(struct ring_buffer *buffer, struct iovec *vecs);
|
||||
size_t ring_buffer_move(struct ring_buffer *to, ssize_t length, struct ring_buffer *from);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user