From a9bf24d26fd28acaed839977e1d050c468d5a55e Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 16 Sep 2009 10:24:52 -0300 Subject: staging-specs: Move xml entities to kernel Documentation/DocBook From: Mauro Carvalho Chehab kernel-sync: Priority: normal Signed-off-by: Mauro Carvalho Chehab --- linux/Documentation/DocBook/v4l/func-close.xml | 70 ++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 linux/Documentation/DocBook/v4l/func-close.xml (limited to 'linux/Documentation/DocBook/v4l/func-close.xml') diff --git a/linux/Documentation/DocBook/v4l/func-close.xml b/linux/Documentation/DocBook/v4l/func-close.xml new file mode 100644 index 000000000..dfb41cbbb --- /dev/null +++ b/linux/Documentation/DocBook/v4l/func-close.xml @@ -0,0 +1,70 @@ + + + V4L2 close() + &manvol; + + + + v4l2-close + Close a V4L2 device + + + + + #include <unistd.h> + + int close + int fd + + + + + + Arguments + + + + fd + + &fd; + + + + + + + Description + + Closes the device. Any I/O in progress is terminated and +resources associated with the file descriptor are freed. However data +format parameters, current input or output, control values or other +properties remain unchanged. + + + + Return Value + + The function returns 0 on +success, -1 on failure and the +errno is set appropriately. Possible error +codes: + + + + EBADF + + fd is not a valid open file +descriptor. + + + + + + + -- cgit v1.2.3