본문 바로가기

dev_eun

검색하기
dev_eun
프로필사진 _eun

  • 분류 전체보기 (80)
    • Cloud (5)
      • AWS (5)
    • Back-end (2)
      • Spring (0)
      • Node.js (1)
      • MySQL (1)
    • Web (12)
      • React.js (3)
      • vanilla js (5)
      • Next.js (3)
    • 공부 (25)
      • 알고리즘 문제 (10)
      • Git (4)
      • C++ (11)
    • 개발일지 (11)
      • Crew Space (3)
      • 토이프로젝트 (5)
    • 일상 (5)
    • 학교 (9)
      • 유닉스 프로그래밍 (9)
    • 기타 (9)
      • 안드로이드 (5)
Guestbook
Notice
Recent Posts
Recent Comments
Tags
  • 운영체제
  • REACT
  • unix
  • git
  • 운영체제아주쉬운세가지이야기
  • CSS
  • OS
  • 씨쁠쁠
  • selenium
  • 파이썬
  • ecs
  • js
  • REACTJS
  • JavaScript
  • Gatsby
  • 오퍼레이팅시스템
  • crew space
  • 유닉스
  • Python
  • aws
  • 코테
  • nextJS
  • HTML
  • 안드로이드스튜디오
  • 매크로
  • 깃
  • 안드로이드
  • 코딩테스트
  • crewspace
  • c++
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Pipe (1)

dev_eun

[UNIX] ⑦ 파이프(pipe)

1. pipe pipes pipe는 유닉스 시스템 IPC에서 제일 오래되었고, 모든 유닉스 시스템에서 지원한다. 가장 간단한 interprocess communication 메커니즘 예시 $ who | wc -l who 명령어의 standard output이 pipe write로 변경됨 wc 명령어의 standard input이 pipe read로 변경됨 pipe() int pipe(int filedes[2]); status return value success 0 error -1 arguments filedes index desc 0 read 1 write FIFO 기준 lseek()이 pipe에서 동작하지 않기 때문에 이 순서는 변경할 수 없다. 2가지 제한 half duplex(read하는 프로세스..

학교/유닉스 프로그래밍 2020. 12. 9. 00:57
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바