openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libmount/src/tab.c
int mnt_table_set_userdata(struct libmnt_table* tb, void* data)
{
    if (!tb)
        return -EINVAL;

    tb->userdata = data;
    return 0;
}
/**
 * mnt_table_set_userdata:
 * @tb: pointer to tab
 * @data: pointer to user data
 *
 * Sets pointer to the private user data.
 *
 * Returns: 0 on success or negative number in case of error.
 */
@tb: pointer to tab
@data: pointer to user data

Sets pointer to the private user data.

0 on success or negative number in case of error.
@tb : pointer to tab @data : pointer to user data Sets pointer to the private user data . 0 on success or negative number in case of error .
int mnt_table_set_userdata(struct libmnt_table* tb, void* data)
{
    if (!tb)
        return -EINVAL;
    tb->userdata = data;
    return 0;
}
int mnt_table_set_userdata ( struct libmnt_table * tb , void * data ) { if ( ! tb ) return - EINVAL ; tb -> userdata = data ; return 0 ; }
mnt_table_set_userdata:
 @tb: pointer to tab
 @data: pointer to user data
mnt_table_set_userdata : @tb : pointer to tab @data : pointer to user data