Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~726 People Reached
Favorite Tags
c x 2
Member Avatar for Larry_6

#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main() { char buf[15]; char *buf1 = "CE_and_IST"; char buf2 = 'z'; int fd = open("myfile", O_RDWR); lseek(fd, 10, SEEK_SET); int n = read(fd, buf, 10); printf("%d\n", n); n = write(fd, (const void *)buf1, 10); printf("%s\n", buf); …

Member Avatar for davidnelson4911
0
319
Member Avatar for Larry_6

so there 3 questions that I'm really confused, anyone familiar with unix want help? 1. Each file system in UNIX has at least one table that identifies file in it, the entries are called i-nodes.where are these inodes resides?(location) 2. What operation would cause the i-nodes of a file, say …

Member Avatar for rubberman
0
170
Member Avatar for Larry_6

I'm writing a c code in order to dynamically create a sturcture like this: 1st -> 5 -> 7 -> 2, then 2->5(there is an arrow beneath 2 and link it back to 5) the data is below: struct node { int value; struct node *next; } Here is what …

Member Avatar for David W
0
237