Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Operating systems in C 15.) Suppose a program has successfully opened a file object, fp, for reading a file from a disk drive and the

Operating systems in C image text in transcribed
15.) Suppose a program has successfully opened a file object, fp, for reading a file from a disk drive and the program has created a buffer, my-but, of an appropriate size. Consider the following C function call. fread (my_buf, 1, BUFFERSIZE, fp); a) Explain why this function call may, or may not, cause a system call to the operating system. b) Suppose that the above function call causes a system call. Explain why the operating system may, or may not, initiate arn I/O operation to read data from the file on the disk drive

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Informix Database Administrators Survival Guide

Authors: Joe Lumbley

1st Edition

0131243144, 978-0131243149

Students also viewed these Databases questions