.\" Automatically generated man page, do not edit .TH QB_RB_CHOWN 3 2020-10-31 "LIBQB" "libqb Programmer's Manual" .SH NAME qb_rb_chown \- Like 'chown', it changes the owner and group of the ringbuffer's resources. .SH SYNOPSIS .nf .B #include .sp \fBint32_t qb_rb_chown\fP( \fBqb_ringbuffer_t *\fP\fIrb\fP, \fBuid_t \fP\fIowner\fP, \fBgid_t \fP\fIgroup\fP ); .fi .SH PARAMS \fBrb \fP\fIringbuffer instance \fP .PP \fBowner \fP\fIuid of the owner to change to \fP .PP \fBgroup \fP\fIgid of the group to change to \fP .PP .SH DESCRIPTION .RE .SH RETURN VALUE .PP status (0 = ok, -errno for error) .PP .SH SEE ALSO .PP .nh .ad l \fIqb_rb_close\fR(3), \fIqb_rb_refcount_get\fR(3), \fIqb_rb_chmod\fR(3), \fIqb_rb_open\fR(3), \fIqb_rb_write_to_file\fR(3), \fIqb_rb_create_from_file\fR(3), \fIqb_rb_chunks_used\fR(3), \fIqb_rb_chunk_reclaim\fR(3), \fIqb_rb_space_used\fR(3), \fIqb_rb_chunk_write\fR(3), \fIqb_rb_shared_user_data_get\fR(3), \fIqb_rb_chunk_commit\fR(3), \fIqb_rb_chunk_peek\fR(3), \fIqb_rb_space_free\fR(3), \fIqb_rb_name_get\fR(3), \fIqb_rb_chunk_alloc\fR(3), \fIqb_rb_chunk_read\fR(3) .ad .hy .SH "COPYRIGHT" .PP Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.