UNIX
Unix is a computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs including Ken Thompson, Dennis Ritchie and Douglas McIlroy.
Application
Any
Language
Any
License
Any
Sorry, I still can't understand what you mean.
The value of p is what you pass to the A function.
p+sizeof(struct block) is a combined address that points to whatever is sizeof(struct block)...
int A(void *p,struct word_cache *wc,int index)
{
struct block *bh;
struct disk *docs;
....
.....
....
bh=(struct block *)p; //cast the void * to struct block...
p doesn't point to anything, because it is uninitialized.
Maybe you have a typo somewhere?
hi, I have one question about void *p;
void *p;
struct block *bh;
struct disk *docs;
bh=(struct block *)p;
docs=(struct disk *) ( (unsigned long)p+sizeof(struct block));
my question is...
Please Help needed to compile my first kernel program
I have compile & install new kernel 2.6.32.3 on path: /root/linux2.6.32.3/
I have written small program at path: /root/abc/
I already...
Can you help me with a sample output for this program ....
DSL is not much more than a custom-built Linux kernel with bundled packages. You can get the sources of the packages from their respective sites and the kernel code is on the DSL download page near...
Can someone please tell me where
can I find or download
Damn Small Linux source code?
Many thanks.
hi guys
i have only basic knowledge of C so guys plz help me .....
is C language support call the C executable inside the C ??
example contect mainA.c have a many function define in the struct...
Hello!
Nowadays I try to use PowerPC in Linux. I am porting some codes which were implemented for ARM core. In this code, it can set timer interrupt with micro time unit. In order to this, it uses...
Startup).
I like to completely reinstall Windows every 1-2 years to make it run at optimal speed. A nice trick is to use an nLited installation disk as this will only install the things you need....
I use windows XP and want to migrate to linux OS. I want to migrate urgently because i m fed of viruses, slowing down of windows etc.Please your suggestions or experiences.
It compiles just fine without '-lmath'.
pow is expecting a return value of double, so you may want to change '%d' to something like '%.0f'. (testing it with %d showed 4^3=0)
program
---------
printf("\n\n Size of float is %d ",sizeof(float));
printf("\n size of float is %f",sizeof(float));
output
--------
Size of float is 4
size of float is 256.000000...
Hiii
I tried to write a small program in C.
#include
#include
int main()
{
printf("\n\n the 4^3 = %d",pow(4,3));
return 0;
}
And I compile like $gcc -lmath pgm1.c
but it...
clean.log
but it doesn't work, I already had six attempts but always the same, I'm reading now for 4 hours an I still think I#m not any closer to a solution.
Any help will be appreciated!...
hi,
while i was using splice system call for copy one file to another,
I got the error is given below:
splice() (from) failed: Invalid argument
In file:
int relay_fd,log_fd;...
pthread_mutex_lock() call never returns causing other threads to wait
for gaining its lock forever in turn causing 100% cpu load. I have tried
using alternate call pthread_mutex_trylock() which...