Find Jobs
Hire Freelancers

Project 1 (Operating System) -- 2

$10-30 USD

Færdiggjort
Slået op over 3 år siden

$10-30 USD

Betales ved levering
Hello my name is Naresh. I need to get this project done in C language please (if possible). Project: Linux System Calls and Library Functions Implement the task specified in Exercise 5.39 (p. 180) in your text by Robbins/Robbins. Do only questions 1–4 in the assign- ment, that is, you do not have to do breadthfirstapply. Your executable will be called mydu. This exercise deals with the implementation of the Unix application known as du. The command du displays the size of subdirectories of the tree rooted at the directories/files specified on the command-line arguments. If called with no argument, the du utility uses the current working directory. Your solution will be invoked using the following command: mydu [-h] mydu [-a] [-B M | -b | -m] [-c] [-d N] [-H] [-L] [-s] <dir1> <dir2> ... -a Write count for all files, not just directories. -B M Scale sizes by M before printing; for example, -BM prints size in units of 1,048,576 bytes. -b Print size in bytes. -c Print a grand total. -d N Print the total for a directory only if it is N or fewer levels below the command line argument. -h Print a help message or usage, and exit -H Human readable; print size in human readable format, for example, 1K, 234M, 2G. -L Dereference all symbolic links. By default, you will not dereference symbolic links. -m Same as -B 1048576. -s Display only a total for each argument. When you use perror, please print some meaningful error messages. The format for error messages should be: mydu: Error: Detailed error message where mydu is actually the name of the executable (argv[0]) and should be appropriately modified if the name of executable is changed without a need for recompilation. It is required for this project that you use version control, a Makefile, and a README. Your README file should consist, at a minimum, of a description of how I should compile and run your project, any outstanding problems that it still has, and any problems you encountered. Your Makefile should use suffix-rules or pattern-rules and have an option to clean up object files. You are free to use your own data structures and algorithms to perform the depth-first search. Your code should give proper results if the directory is empty, or if the directory does not contain any more subdirectories. Your code should properly account for the file size, possibly by using stat(2) family of functions. Do not use system(3) function for anything.
Projekt-ID: 27340220

Om projektet

1 forslag
Projekt på afstand
Aktiv 4 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
Hi... I have a sound knowledge of Operating system with 3+ years of competitive programming experience in C/C++. I would like to do your project. I have read the description and I think that I am capable of doing this in the required time. Feel free to drop me a message so that we will discuss it further. I ensure you the following things; - Quality Work - In time delivery - Well Commented Code regards, Zulqar Abbas
$40 USD på 2 dage
3,7 (7 anmeldelser)
3,2
3,2

Om klienten

Flag for UNITED STATES
St. Louis, United States
5,0
2
Betalingsmetode verificeret
Medlem siden sep. 12, 2020

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.