Search Results

Search: Posts Made By: gokult
Forum: Programming 12-10-2010
1,607
Posted By gokult
#include<stdio.h> #include<sys/types.h> ...
#include<stdio.h>
#include<sys/types.h>
#include<sys/mman.h>
#include<stdlib.h>
#include<fcntl.h>
#include<sys/stat.h>
#include<unistd.h>
#include<signal.h>
#include<string.h>

main(int...
Forum: Programming 12-10-2010
1,607
Posted By gokult
But the program shows lot of errors now. Can...
But the program shows lot of errors now.
Can you try it????

Thank you very much
Forum: Programming 12-10-2010
1,607
Posted By gokult
No error but not executing
Hi friends
When I compile thic program by gcc filename, it shows no error.
But after that if I execute the program gets stuck.
Can any one find out.






#include<stdio.h>...
Forum: Programming 12-10-2010
1,079
Posted By gokult
No error but not executing
Hi friends
NO errors, but when I try to execute the program it gets struck.
Can any one find it out.




#include<stdio.h>
#include<sys/types.h>
#include<sys/mman.h>
#include<stdlib.h>...
Forum: Programming 12-10-2010
2,402
Posted By gokult
segmentation fault
What is segmentation fault(core dumped)
Forum: Programming 12-09-2010
1,224
Posted By gokult
Find out the error
Please see the error below

Program:

#include<stdio.h>
#include<sys/types.h>
#include<sys/mman.h>
#include<stdlib.h>
#include<fcntl.h>
#include<sys/stat.h>
#include<unistd.h>...
1
1,982
Posted By gokult
mmap
Descriptions:
Develop a program that uses mmap() to map a file to memory space. Prepare such a file by yourself and do the follows.

<LI class=MsoNormal>Display the content of the file after...
Forum: Programming 12-08-2010
5
2,846
Posted By gokult
Re:crosspost
no.. I did not get any reply in that forum.so, programming is also a part in it and i posted it.
But, sorry
3
4,721
Posted By gokult
Thank you very much corona. Can you help me out...
Thank you very much corona. Can you help me out how to implement concepts into it.
Any concepts like display content of the file, count the number of digits, replace digits with a particular...
Forum: Programming 12-08-2010
5
2,846
Posted By gokult
mmap()
how to use mmap() to map a file to memory space. Do you have any simple program???? Because I have to implement lot of concepts into it.
3
4,721
Posted By gokult
mmap()
how to use mmap() to map a file to memory space. Do you have any simple program???? Because I have to implement lot of concepts into it.
2,568
Posted By gokult
producer consumer semaphore
Control two exclusively shared resources(semaphore). The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads...
2,358
Posted By gokult
semaphore
Control two exclusively shared resources(semaphore). The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads...
Forum: Programming 12-01-2010
1,682
Posted By gokult
producer consumer semaphore
Control two exclusively shared resources(semaphore). The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads...
1,622
Posted By gokult
producer consumer
Control two exclusively shared resources(semaphore). The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads...
3,069
Posted By gokult
reply
Its a part in his(friend) project

Producer
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include...
Forum: Programming 12-01-2010
1,467
Posted By gokult
producer consumer
Control two exclusively shared resources. The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads from each...
4,306
Posted By gokult
producer consumer
Control two exclusively shared resources. The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads from each...
3,069
Posted By gokult
producer consumer
Control two exclusively shared resources. The two resources are two files. The producer will write even numbers to one file, and odd numbers to another one. The consumer respectively reads from each...
Showing results 1 to 19 of 19

 
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy