[Solved] Program that asks the user for the name of the file

$25

File Name: Program_that_asks_the_user_for_the_name_of_the_file.zip
File Size: 480.42 KB

SKU: [Solved] Program that asks the user for the name of the file Category: Tag:
5/5 - (1 vote)

5/5 – (1 vote)

The Linux system call stat provides information of a specific file on the hard drive. More information about this system call can be found on the Internet or by typing man 2 stat on the Linux shell.

Your task is to use stat to write a program that asks the user for the name of the file, which is located in the same directory as the executable, and displays the size of that file in bytes.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] Program that asks the user for the name of the file
$25