Download - 1.6 System calls

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:


Top Related