summaryrefslogtreecommitdiffstats
path: root/toolbox/ioctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing #includes in system/core.Elliott Hughes2014-12-291-0/+1
| | | | Change-Id: I4736e8c4f7bb8bb03640d26d58243efaa67dc75c
* am 85cac2ab: am b1dd4af7: Merge "Fix a typo in ioctl usage message."Elliott Hughes2014-10-061-1/+1
|\ | | | | | | | | * commit '85cac2abd416120646b0fe058aac812ca517d71b': Fix a typo in ioctl usage message.
| * Fix a typo in ioctl usage message.Elliott Hughes2014-10-061-1/+1
| | | | | | | | Change-Id: I850dd9995a8ad6cb1f606cca2f57d7dbba2f40ed
* | resolved conflicts for merge of faf84529 to masterMark Salyzyn2014-05-211-2/+4
|\ \ | |/ | | | | Change-Id: Idbb7fae527bad4ae1447f95662a9ec5d5294d771
| * toolbox: turn on -WerrorMark Salyzyn2014-05-141-2/+4
| | | | | | | | | | | | | | | | | | - Deal with some signedness issues - Deal with some size issues - Deal with NULL pointer issues - Deal with some -Wunused issues Change-Id: I1479dd90d690084491bae3475f2c547833519a57
* | Enhance the ioctl toolbox commandScott Anderson2013-10-171-4/+8
|/ | | | | | | | | | | | | | | | | | | 1) Implement documented but unimplemented read-only option. 2) Allow standard input to be used as the <device> by passing "-". On some devices, opening the device has side effects. Allowing standard input can prevent this by using a sequence of something like: # Open the device on file descriptor 3 exec 3<> /dev/something ioctl -d - 0 0 <&3 ioctl -d - 1 0 <&3 dd if=myfile >&3 # Close file descriptor 3 exec 3>&- Change-Id: If17ac3cffa7ccb159051550724b4ce7d8efa5feb Signed-off-by: Scott Anderson <saa@android.com>
* Add missing headers for compilation on x86 targetsOlivier Bailly2010-11-171-0/+3
| | | | Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+125
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-125/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+125