Search Results

Search: Posts Made By: vijlak
Forum: Programming 03-06-2007
5,477
Posted By vijlak
floating point problem
Hi all!
Hi all!
I am working with a problem to find the smallest floating point number that can be represented.
I am going in a loop ,stating with an initial value of 1.0 and then diving it by 10...
Forum: Solaris 01-29-2007
3,047
Posted By vijlak
Thanks for ur reply..I will try to get the...
Thanks for ur reply..I will try to get the pthread lib to be loaded on the win-intel systems.
Forum: Solaris 01-27-2007
5,812
Posted By vijlak
pthread problem
Hi all!
I am working on unix systems.I am programming in c.
I have got some problems with pthread.when I use pthread_create to creat a thread it says:
(.text+0x3a): undefined reference to...
Forum: Solaris 01-26-2007
3,047
Posted By vijlak
threads
Hi all!
1)Is there a way to write a program that will work on both solaris and intel based machines.
2)How can I achive this for a program that creates and synchronizes three threads.
Thank you....
Forum: Solaris 01-26-2007
6,410
Posted By vijlak
Thanks a lot! I will look into it .
Thanks a lot!
I will look into it .
Forum: Solaris 01-26-2007
6,410
Posted By vijlak
Thread creation in c++
Hi all!
Is there a function in c++ to create new threads.I have writen a class "Thread"
in which I will be calling this thread function to creat threads.
Also is there a function to synchronize...
12,475
Posted By vijlak
magic.h
Where can I find #defines for filetypes like the ELF etc and the magic.h file?
CAn anyone advice.
Thanks in advance.
2,819
Posted By vijlak
magic.h
Where can I find #defines for filetypes like the ELF etc and the magic.h file?
CAn anyone advice.
Thanks in advance.
Forum: Programming 11-16-2006
4,520
Posted By vijlak
Thank you!
Thank you!
Forum: Programming 11-14-2006
4,520
Posted By vijlak
Hi !_30! I am quite new to this. U asked me...
Hi !_30!
I am quite new to this.
U asked me to use ( STRNCPY(string,initial_string+x,y) ) on the output string but the system("file <file"); is printing it on the console like the printf...
Forum: Programming 11-14-2006
4,520
Posted By vijlak
Thanks a lot, Corona688.It solved my problem. :D ...
Thanks a lot, Corona688.It solved my problem. :D :) :cool: ;) :D :)
Forum: Programming 11-14-2006
4,520
Posted By vijlak
Sorry for the stupid question. Here is a sample...
Sorry for the stupid question.
Here is a sample piece of code.

void dirlist(char dir[PATH_MAX],int request)


DIR *dp=opendir(dir);
struct direct *entry;
extern int errno;
...
Forum: Programming 11-14-2006
4,520
Posted By vijlak
Thank you, everyone. Pardon me for my dumb...
Thank you, everyone.
Pardon me for my dumb questions.
Can u please tell me whether the filename specified in system("file <file>") should be a constant or can it be a variable too?
Because, the...
Forum: Programming 11-14-2006
4,520
Posted By vijlak
Thanks
Hi !_30!

Thank you! Ur suggetion was very much helpful.
But I just want the message like ascii text or english text.How can I do that?
Is the returned value a string or what?
Can u give me a...
Forum: Programming 11-14-2006
4,520
Posted By vijlak
file type
Hi Everyone!

I am working on a c program which displays all the directories and files under each directory.
I want to know what kind of file each is. Like, is the file an ascii text file or...
Forum: Programming 11-13-2006
4,285
Posted By vijlak
Hi!
Thanks Jim! Greatly appreciate ur suggetion.
Forum: Programming 11-13-2006
4,285
Posted By vijlak
Hi
Hi vino!
Thanks for ur quick reply.
I never tried what u said.
Can u tell me in detail?
Forum: Programming 11-13-2006
4,285
Posted By vijlak
Hi! segmentation fault
I have written a program which takes a directory as command line arguments and displays all the dir and files in it.
I don't know why I have a problem with the /etc directory.It displays all the...
Forum: Programming 11-11-2006
2
Hi!
1,622
Posted By vijlak
Hi!
what is a magic no?
what is the difference between a binary file and a acsii text file?
what is the difference between ascii text and a english text file?
Appreciate any kind of help.
Thanks for...
Forum: Programming 11-11-2006
14,080
Posted By vijlak
Perderabo,Than you! I want to use it to know...
Perderabo,Than you!
I want to use it to know whether stat() call functions in a way desired or if it
exited with an error then what made it exit.
I will try your way too.Thank you!
Forum: Programming 11-11-2006
14,080
Posted By vijlak
Hi!
Thank you!got it.
Forum: Programming 11-11-2006
14,080
Posted By vijlak
Hi
Thank you,hegemaro!
So,Can I use it with stat() call?
If it has a integer value ,How can I know which value is which?
Like there are many type of errors that can be generarted like no access...
Forum: Programming 11-11-2006
14,080
Posted By vijlak
Hi errno in sys/stat.h
How should I use errno in a c program and what info does it have .
I am working with directories and files.
So can any one tell me How to access errno?I am using the stat() function on \etc...
Showing results 1 to 23 of 23

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