Unix System Programming Jan 2016 (2010 Scheme).pdf - Google ...

1 downloads 164 Views 684KB Size Report
What is a race condition? Write a program for generating race condition. (08 Marks). -li f b. Explain in detail the fuii
For More Question Papers Visit - www.pediawikiblog.com 10cs62

USN

Sixth Semester B.E. Degree Examination, Dec.2015 lJan.20l6

m

UNIX System Programming Max. Marks: !00 Note: Answer FIVE full questions, selecting at least TWO questionsfrom each part.

o ()!

E

::

H= *g :1 Y oo ,l

2 a. b. c.

g.

E9

1 a. Discuss the differences between ANSI C and K & R C with example for each. (10 Marks) b. What are the API common characteristics? List any six values of the global variable errno (10 Marks) along with their meanings whenever API's fail. Explain the commands to create different file types supported by Explain IINIX Kernel support for files with a neat diagram, Differentiate symbolic links and hard links.

LINIX.

lo

UI

^. ^_ PART-A

coo

ib

€E € fi

co

Time: 3 hrs.

q 3 a. fl Y b. E .fl oB

Explain the following general file i) open( ii) fcnt( iii) Explain Symbolic Link file

S 4 a. -L b. S 5u c.

Draw and explain the summary of starting and terminating a C program. With a neat sketch, explain the memory layout of a C-program. Explain exit, _exit and atexit functions with their prototypes.

.g

-z'Eets

(12 Marks) (08 Marks)

PART-B

What is a race condition? Write a program for generating race Explain in detail the fuiily of exec functions.

condition.

ed

a'ts ; € 5 a. -li f b.

ia

ES o0

Suggest Documents