__v4l2_ctrl_s_ctrl
Prev | Video2Linux devices | Next

## Name

__v4l2_ctrl_s_ctrl — Unlocked variant of `v4l2_ctrl_s_ctrl`.

## Synopsis

`int __v4l2_ctrl_s_ctrl (` | struct v4l2_ctrl * ctrl,
| s32 val`)`;

## Arguments

`ctrl`

  The control.

`val`

  The new value.

## Description

This set the control's new value safely by going through the control framework. This function will lock the control's handler, so it cannot be used from within the v4l2_ctrl_ops functions.

This function is for integer type controls only.

Prev | Up | Next
v4l2_ctrl_g_ctrl | Home | v4l2_ctrl_g_ctrl_int64