Linux³ÌÐòÉè¼Æ ÖÕ¶Ë
¶ÔÖն˽øÐжÁд
ÔÚ±àд³ÌÐòʱ£¬ÎÒÃÇÍùÍùÐèÒª´ÓÖն˶ÁÈëÊý¾Ý¡£Ò»ÖÖÇé¿öÊÇÐèÒªÁ¬ÐøµØ¶ÁÈëÓû§¼üÈëµÄÑ¡ÔñÏÕâÍùÍù³öÏÖÔÚÊý¾Ý¿â³ÌÐòÖС£³ÌÐòÔ±ÍùÍù»áʹÓÃ
getchar
º¯ÊýÀ´¶ÁÈ¡Êý¾Ý£¬¼Ì¶øÅжÏÊäÈëµÄÊý¾ÝÊÇ·ñÓÐЧ£¬´Ó¶ø×ö³ö·´Ó¦¡£ÆäʵÈç´Ë×ö´øÓкܴóµÄ·çÏÕ£¬Ò»¸öʵÀý³ÌÐòÈçÏÂ
#include <stdio.h>
char *menu[] = {
"a - add new record",
"d - delete record",
"q - quit",
NULL
};
int getchoice(char *choices[]){
int chosen = 0;
int selected;
char **option;
do {
option = choices;
while(*option){
printf("%s\n", *option);
option++;
}
selected = getchar();
option = choices;
while(*option){
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌá¹©ÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÕªÒª£ºÕ§¿´ÉÏÈ¥£¬RedHatµÄFedora 12¡¢NovellµÄOpenSUSE 11.2ºÍCanonicalµÄUbuntu 9.10ÕâÈý¸öĿǰ×î¶¥¼¶µÄLinux·¢Ðа漸ºõûÓÐÊ²Ã´Çø±ð¡£ËüÃǶ¼»ùÓÚ×îеÄLinuxÄںˣ¬¶¼°üº¬ÁËÈçOpenOfficeºÍFirefoxµÈ¿ªÔ´Ó¦Óᣲ»¹ý£¬Ö»ÒªÄã×Ðϸ¹Û²ì¾Í»á·¢ÏÖÕæÕýµÄ²î±ð£¬Ã¿¸ö·¢Ðа涼Õë¶Ô×Ų»Í¬µÄÓû§¡£
¡¾51CTO.com¿ìÒë×Ô12ÔÂ18ÈÕÍâµçÍ·Ì ......
Securing your Linux server is important to protect your data, intellectual property, and time, from the hands of crackers (hackers). The system administrator is responsible for security Linux box. In this first part of a Linux server security series, I will provide 20 hardening tips for default inst ......
¡¡Ëæ×ÅÈËÃǶԿª·ÅÔ´´úÂëÈí¼þÈÈÇéµÄÈÕÒæÔö¸ß£¬Linux×÷Ϊһ¸ö¹¦ÄÜÇ¿´ó¶øÎȶ¨µÄ¿ªÔ´²Ù×÷ϵͳ£¬Ô½À´Ô½Êܵ½³ÉǧÉÏÍòµÄ¼ÆËã»úר¼ÒºÍ°®ºÃÕßµÄÇàíù¡£ÔÚǶÈëʽÁìÓò£¬Í¨¹ý¶ÔLinux½øÐÐСÐÍ»¯²Ã¼ôºó£¬Ê¹ÆäÄܹ»¹Ì»¯ÔÚÈÝÁ¿Ö»Óм¸Ê®Õ××ֽڵĴ洢Æ÷оƬ»òµ¥Æ¬»úÖУ¬³ÉΪӦÓÃÓÚÌØ¶¨³¡ºÏµÄǶÈëʽLinuxϵͳ¡£LinuxÇ¿´óµÄÍøÂçÖ§³Ö¹¦ÄÜʵÏÖÁ˶԰ü ......