Vidyalelo
Computer Science · Q671

UNIX

Engineering and GATE · Computer Science · question 671

Q671

truncate needs the . . . . . . . . of the file as an argument but ftruncate works with . . . . . . . .

A.
pathname, file descriptor
Answer
B.
file descriptor, pathname
C.
pathname, pathname
D.
file descriptor, file descriptor

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board