so_sal 

  • 홈
  • 방명록
  • 오토마우스
  • Profile
  • LinkedIn

복제 1

Linux : dup과 dup2

/* * http://sosal.tistory.com/ * made by so_Sal */ 이 포스팅은 open, read, write 등의 시스템콜을 기본적으로 안다는 가정 하에 작성된 글입니다. 위 시스템콜에 대해서 모르신다면 :: LINK_ 1. dup 2. dup2 1.dup - 파일 식별자를 복제한다. #include // man page 참조 int dup( int fd ); (dup은 duplication의 약자겠죠?.. 아마.. ㅋㅋ) 새로운 파일 서술자를 반환하지만, 숫자만 다를 뿐 원래의 서술자, 복제된 서술자 모두 완벽히 같은 파일을 가리킨다. 실패 : -1 반환 (파라미터로 전달된 값이 fd가 아닐경우, 더이상 fd를 할당하지 못할경우) /* * fd1 파일 디스크립터에 open을 ..

Linux/Linux_programing 2010.07.02
이전
1
다음
더보기
프로필사진

so_sal 

Bioinformatics analyst Data scientist

  • Sosal~ (805)
    • Stigmatized. (344)
      • Essay (56)
      • ETC. (63)
      • Adobe acrobat (28)
      • Music story (84)
      • Game posting (11)
      • Fish (6)
      • Closed (0)
      • University (20)
      • Investment Techniques (13)
      • Outing (51)
      • Tistory (1)
      • epilogue (9)
      • The Grande Music Studio (1)
    • Major Study. (164)
      • Computer Science (51)
      • Bioinformatics (78)
      • System hacking (25)
      • Journal study (7)
      • Image Processing (3)
    • Linux (58)
      • Linux_programing (25)
      • Linux_technic (24)
      • Linux_Source (9)
    • Windows_ (50)
      • Windows32_API (19)
      • Windows_C# & App (25)
      • Windows_Source (4)
    • Programing (146)
      • C- programing (41)
      • Java & Android App. (4)
      • Assembley 16bit (6)
      • R- programming (59)
      • ETC_programming (6)
      • Algorithm (9)
      • Julia programming (1)
      • Python programming (18)
      • Flutter (1)
      • Vue (0)
    • Web programing (42)
      • HTML & CSS (12)
      • Javascript (20)
      • JSP (5)

Tag

Linux, find, 리눅스, binary, sosal, 링크드리스트, system, fork, 애크로뱃, process, 시스템, Acrobat9, adobe, 어도비, socket, 프로세스, 아크로뱃, Acrobat, SIS, PDF,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

  • 오토마우스 무한클릭
  • 운영자 프로필
  • 코드악보 채보신청

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • SNUBI
  • Dakuo
  • Posaengi
  • 방명록

티스토리툴바