본문 바로가기

Job Notes

(118)
[펌] 리눅스 플래시 파일 시스템 분석 M. Tim Jones, 컨설턴트 엔지니어, Emulex Corp. 요약: JFFS(Journaling Flash File System)와 YAFFS(Yet Another Flash File System)에 대해 들어보았을테지만, 기반 플래시 디바이스 위에서 동작하는 파일 시스템이 무엇을 의미하는지 알고 있습니까? 이 기사는 리눅스(Linux®)를 위한 플래시 파일 시스템에 대해 소개하고, 닳기 균등화를 통해 반영구적인 기반 디바이스(플래시)를 보호하는 방법을 익히고, 기본적인 설계와 함께 다양한 플래시 파일 시스템을 알아보겠습니다. 원문 게재일: 2008 년 9 월 23 일 ------------------------------------------------------------------------..
cygwin 1.7 Pathname warning Cygwin 1.7 설치 후 아래와 같은 warning 발생 시 cygwin warning: ms-dos style path detected 시스템 등록정보 -> 고급 -> 환경변수 ->시스템 변수 -> 새로 만들기 변수: CYGWIN 값: nodosfilewarning 추가
[펌] 안전한 string 함수 (strncpy_s, sscanf_s, sprintf_s) 사용 1. strcpy은 strncpy, strncpy_s를 사용한다. 참고 : http://msdn.microsoft.com/ko-kr/library/5dae5d43.aspx Example> char src[] = "Test"; char dest[10]; strncpy_s(dest, _countof(dest), src, strlen(src)); 2. sscanf 대신 sscanf_s를 사용한다. 참고 : http://msdn.microsoft.com/ko-kr/library/t6z7bya3.aspx Example> char pRaw_data[] = "A 10 20 AB 30 CD 40 EF 50 GH 60 IJ 70 KL 80 MN 90 OP 11.2"; char count; int snr; int scor..
[펌] C와 C++ 간의 함수 호출 C 언어라 함은 기본적으로 *.C 파일에서 통용하는 문법이고... C++ 언어라 함은 기본적으로 *.CPP 파일에서 통용하는 문법입니다.. 둘사이에서 가장 큰 차이점중의 하나가 다형성입니다... C++ 은 이를 지원하지만 C 는 지원하지 않습니다... 그래서 두 언어 사이에 링크시 차이점이 있습니다....^^; 그래서 상호간의 호출은 기본적으로 되지 않습니다 그렇지만 링크에이지 속성을 바꾸면 됩니다.... 우선 C 파일에서 C++ 을 호출하려면요.. 이렇게 해보세요.... C 에서 호출할 C++ 함수에 extern "C" 라고 붙이면 됩니다... 예를 든다면 ^^; Cfile.c 에서는 #include void a(); main() { a(); } 그리고 CTest.cpp 에서는 #include exte..
strchr & strrchr /* STRCHR.C: This program illustrates searching for a character * with strchr (search forward) or strrchr (search backward). */ #include #include int ch = 'r'; char string[] = "The quick brown dog jumps over the lazy fox"; char fmt1[] = " 1 2 3 4 5"; char fmt2[] = "12345678901234567890123456789012345678901234567890"; void main( void ) { char *pdest; int result; printf( "String to be searched: \n..
Windows Virtual PC (in Windows 7) and the Microsoft Device Emulator Windows 7에서 Microsoft Device(Windows Mobile) Emulator로 네트워크 기능을 사용할려면 Virtual PC 2007을 설치해야 한다. 그런데 Windows 7에서는 Virtual PC와 XP mode를 많이 사용하는데, 이를 설치된 상태라면 emulator에서 네트워크 기능을 사용할려면 XP mode를 제거하고 Virtual PC 2007을 설치하던지 XP mode에서 emulator를 사용하여야 한다. 그러던 중 구글링하다가 좋은 해결책을 찾아서 여기에 적어둔다. 실제 에뮬레이터에서는 Virtual PC 2007이 필요한 것이 아니라 Virtual PC 2007의 network service driver가 필요할 뿐이다. 따라서 이를 직접 Windows 7에 설치해..
PrCP (Printer Control Point) CSS Print Profile http://www.w3.org/TR/css-print/ CSS3 Module: Paged Media http://www.w3.org/TR/css3-page/ CSS 번역 사이트 http://www.thebigfly.com/csslots/
DLNA middleware interconnects consumer devices According to Access, the Living Connect middleware suite lets developers create devices capable of interconnecting with other DLNA v1.5 compliant devices. The stack is said to integrate with Access's NetFront browser and media player. Netfront Living Connect diagram (Click to enlarge) APIs (application programming interfaces) available in the modular middleware suite are said to include: Digital..