[so] [Tema 2] [Linux] Error file size

Aida-Ștefania MANOLE (87667) aida.manole at stud.acs.upb.ro
Tue Mar 19 13:18:40 EET 2019


Buna,


Am o problema la primul test, cel cu fopen. Se creeaza un fisier care nu exista inainte, se inchide fara erori, insa cand este apelata in main file_size aparent caulculeaza o dimensiune diferita de 0. Am dezactivat optiunea de cleanup pentru a vedea fisierul de referinta si acesta are dimesiunea 0 (am rulat stat pe el). Cum as putea sa rezolv aceasta problema? Nu-mi dau seama exact de unde vine. Am atasat si 2 imagini cu output-ul comenzii stat si rezultatul testului 1.


Multumesc,

Manole Aida Stefania

Git repo: https://gitlab.cs.pub.ro/aida.manole/l3-so-assignments/tree/master/2-stdio

[https://gitlab.cs.pub.ro/assets/gitlab_logo-7ae504fe4f68fdebb3c2034e36621930cd36ea87924c11ff65dbcb8ed50dca58.png]<https://gitlab.cs.pub.ro/aida.manole/l3-so-assignments/tree/master/2-stdio>

Sign in<https://gitlab.cs.pub.ro/aida.manole/l3-so-assignments/tree/master/2-stdio>
gitlab.cs.pub.ro
GitLab Community Edition




https://imgur.com/a/tZLzqA8

https://imgur.com/a/oxyIjiJ

[https://i.imgur.com/Ui9xgS3.jpg?fb]<https://imgur.com/a/oxyIjiJ>

Imgur<https://imgur.com/a/oxyIjiJ>
imgur.com
Post with 0 views.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20190319/3817471a/attachment.html>


More information about the so mailing list