1.6 system calls

6
1.6 System calls 1.6 System calls Overview: Overview: Process mgmt Process mgmt File mgmt File mgmt Directory & file system mgmt Directory & file system mgmt Misc Misc Interface between the OS & user Interface between the OS & user programs programs

Upload: brenda-barton

Post on 30-Dec-2015

14 views

Category:

Documents


0 download

DESCRIPTION

1.6 System calls. Overview: Process mgmt File mgmt Directory & file system mgmt Misc Interface between the OS & user programs. Read example. count = read( fd, buffer, nbytes ); See ‘man 2 read’ on scott (Linux) or ‘man –s 2 read’ on polaris (Sun Unix). MyComputer or C:. D:. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 1.6 System calls

1.6 System calls1.6 System calls

Overview:Overview: Process mgmtProcess mgmt File mgmtFile mgmt Directory & file system mgmtDirectory & file system mgmt MiscMisc

Interface between the OS & user Interface between the OS & user programsprograms

Page 2: 1.6 System calls

Read exampleRead example

count = read( fd, buffer, nbytes );count = read( fd, buffer, nbytes ); SeeSee

‘‘man 2 read’ on scott (Linux) orman 2 read’ on scott (Linux) or ‘‘man –s 2 read’ on polaris (Sun Unix)man –s 2 read’ on polaris (Sun Unix)

Page 3: 1.6 System calls
Page 4: 1.6 System calls
Page 5: 1.6 System calls
Page 6: 1.6 System calls

MyComputer or C:D: