Pthread - Outline Unix Architecture Vi Fork Pthread UNIX Architecture System Calls and Library Functions Application code User process C library

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Outline Unix Architecture Vi Fork Pthread
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
UNIX Architecture
Background image of page 2
System Calls and Library Functions Application code C library functions User process System calls kernel
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
vi
Background image of page 4
vi Vi editor have two modes Command mode Edit mode start vi O vi [filename] Command mode Command mode Edit mode Exit Edit mode Insert Delete Replace Copy ..... [Esc]
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Edit mode Insert a Insert word after the cursor i Insert word after the cursor o Create a new line below the cursor O Create a new line upon the cursor
Background image of page 6
Replace and Delete x delete ndw delete n word ndd delete n line r replace a word Undo U undo the changes in the same line u undo the last action Edit nY or nyy copy n line P or p paste . redo the last action / search
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Command Mode :w save :q exit :q! exit and no save :wq save and exit
Background image of page 8
Fork
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
The main purpose is to duplicate the process O The new process created by fork is called child process O
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2009 for the course INFO ENGI 9801 taught by Professor Wu during the Spring '09 term at 東京国際大学.

Page1 / 18

Pthread - Outline Unix Architecture Vi Fork Pthread UNIX Architecture System Calls and Library Functions Application code User process C library

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online