WDRTAS_TEMP_READ

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

wdrtas_temp_read - gives back the temperature in fahrenheit  

SYNOPSIS

"SYNOPSIS"

ssize_t wdrtas_temp_read (struct file * file, char __user * buf, size_t count, loff_t * ppos);  

ARGUMENTS

file
file structure
buf
user buffer
count
number of bytes to be read
ppos
position in file
 

DESCRIPTION

returns always 1 or -EFAULT in case of user space copy failures, <0 on other failures

wdrtas_temp_read gives the temperature to the users by copying this value as one byte into the user space buffer. The unit is Fahrenheit...


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:03:00 GMT, October 09, 2005