fstat函数用于返回关于文件的信息到一个struct stat结构中,stat结构中的st_mode可以用来区分文件类型。
struct stat {
dev_t st_dev; /* ID of device containing file */
ino_t st_ino; /* inode ...
分类:
其他好文 时间:
2014-05-09 02:01:26
阅读次数:
379
newton板已经发布了,下面接着整理我调试的一个小小的方面,蓝牙的功能实现以及测试:
转载请注明出处:http://blog.csdn.net/wang_zheng_kai
3.2. Bluetooth Function Test
141
142 1)View the Bluetooth MAC address and device names:hcitool dev
143...
分类:
其他好文 时间:
2014-05-09 01:32:21
阅读次数:
265
第一步:查看usb信息:在终端输入命令 lsusb12345678leigo@leigo:~$
lsusbBus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching
HubBus 002 Device 002: ID 8...
分类:
移动开发 时间:
2014-05-08 23:41:07
阅读次数:
552
systemandroid/device/softwinner/apollo-cubieboard/BoardConfig.mkBOARD_SYSTEMIMAGE_PARTITION_SIZE
:= 524288000userdataandroid/device/softwinner/apollo-...
分类:
其他好文 时间:
2014-05-08 15:39:35
阅读次数:
242
IDisplayTransformationDeviceFrameVisible extent
in device coordinates.FittedBoundsDevice frame in world
coordinates.ResolutionResolution of the device...
分类:
其他好文 时间:
2014-05-08 09:27:11
阅读次数:
695
转自:http://blog.csdn.net/wanghanjiett/article/details/6931867 几个重要概念: node(节点):
在zigbee堆栈中最多有三种节点:Coordinator(协调器)、Router(路由器)、End Device(终端)。 其中Coordi...
分类:
其他好文 时间:
2014-05-08 06:45:51
阅读次数:
370
public static long getTotalSize(String device) {
StatFs sf = new StatFs (device);
//long totalblocks = sf.getBlockCountLong();
//long freeblocks = sf.getFreeBlocksLong();//为使用的,包括 系统保留的部分
long a...
分类:
其他好文 时间:
2014-05-07 02:41:20
阅读次数:
323
vmkfstools -z
/vmfs/devices/disks/t10.ATA_____ST4000NM00332D9ZM170_________________________________Z1Z0EFNZ
/vmfs/volumes/datastore0/data/disk_st4000g...
分类:
其他好文 时间:
2014-05-07 01:22:16
阅读次数:
593
Beaming NDEF Messages to Other Devices
Android Beam allows simple peer-to-peer data exchange between two Android-powered devices. The application that wants to beam data to another device must be in ...
分类:
移动开发 时间:
2014-05-06 23:21:48
阅读次数:
620