Sponsored Content
Full Discussion: Chardev.c
Operating Systems Linux Chardev.c Post 302778193 by blair15 on Sunday 10th of March 2013 01:19:20 PM
Old 03-10-2013
thank u so much for replying..
i have a few doubts--
1. where should i call these functions(device_read, device_open,..) in user or kernel space module ? or are these invoked automatically when corresponding action is performed ??

2. what is ioctl ?

---------- Post updated at 10:49 PM ---------- Previous update was at 01:53 PM ----------

also why in device_write function the operation isn't supported ??
 
PLS(1)							   http://synce.sourceforge.net/						    PLS(1)

NAME
pls - list directory contents SYNOPSIS
pls [-a] [-R] [-d LEVEL] [-p DEVNAME] [-h] [DIRECTORY] DESCRIPTION
pls list the contents of a directory on a device connected through SynCE. Forward slashes ('/') on the command line are converted to backward slashes (''). File attributes A Archive C Compressed D Directory H Hidden I In ROM M ROM module (can only be executed, not read!) N Normal R Read-only S System T Temporary OPTIONS
-d LEVEL Set debug log level: 0 - No logging (default) 1 - Errors only 2 - Errors and warnings 3 - Everything -p DEVNAME Use the device with the given name, instead of the default. -a Show all files including those marked as hidden. -R Recursively list subdirectories. -h Display help message. DIRECTORY The full path name to the directory. Wild cards are allowed, but only for the trailing part of the path, and should be protected from the shell. If this parameter is relative, it is assumed to be relative to the "My Documents" folder. Similarly, if this parame- ter is omitted, the contents of the "My Documents" folder is listed. AUTHOR
This manual page was written by David Eriksson <twogood@users.sourceforge.net>. SEE ALSO
synce(1) pcp(1) pls(1) prm(1) pmkdir(1) prmdir(1) The SynCE project November 2002 PLS(1)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy