Skip to content
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

Assignment 5 complete #3

Open
wants to merge 12 commits into
base: Assignment-5-base
Choose a base branch
from

Conversation

pranjalgupta1901
Copy link

No description provided.

Copy link
Contributor

@dwalkes dwalkes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!


static void signal_handler (int signal_number)
{
caught_signal = signal_number;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good!

fseek(tmp_file, 0, SEEK_SET);

size_t send_buf_size = valid_size;
char *send_buf = (char *)malloc(send_buf_size);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@traptibalgi what happens when send_buf_size is larger than the space available on the heap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants