星期一, 12月 28, 2009

opendir & readdir

#include
#include
#include
#include

int main(){
char path[]="/sys/bus/mmc/devices/";
DIR * dir;
struct dirent * ptr;
int i;
dir =opendir( path );
while((ptr = readdir(dir))!=NULL) {
if( !strncmp( ptr->d_name,"mmc0", 4) ) printf("d_name: %s\n",ptr->d_name);

}
closedir(dir);
}

星期四, 12月 24, 2009

力線通訊轉Wi-Fi的802.11n

盛達電業日前推出了首款電力線通訊轉Wi-Fi的802.11n標準的網路橋接器,該款產品名為BiPAC 2073,是目前市場上還很少見的產品
http://www.ithome.com.tw/itadm/article.php?c=58737