-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implicit declaration of function 'ftruncate' #3
Comments
I know this is so old, but there is no issue in answering it now.
You can find more explanation in
Hope this help! Have a nice day. |
@alrshdn Thank you! I have no experence in developing Linux C program. You are right. I tested it again and the warning disappers. I also tried to ask ChatGPT. After some instructions, it gives the solution of |
see this code.
I have included
unistd.h
andsys/types.h
, but it doesn't work.However, my program did't report 'bus error' and crash.
The text was updated successfully, but these errors were encountered: