Search Results

Search: Posts Made By: bb00y
Forum: Programming 12-05-2003
2,921
Posted By bb00y
changing directory on server
hi,
I'm doing to some simple socket programming.
I have a client that connects to the server and request stuff.
For example, if the client type in "ls", that command will be sent to the server and...
Forum: Programming 12-01-2002
4,377
Posted By bb00y
moving directory
what is the system call for moving directory?
i tried
main(int argc, char * argv[]){
if(link(argv[1], destinationDir)==-1){
perror("link failed");
//argv[1] is the name of...
Forum: Programming 11-06-2002
5,398
Posted By bb00y
ftw function
int ftw(const char *path, int(*func)(), int depth);

what does the third parameter(depth) mean?
the book said that the larger the value of depth, the fewer directories have to be reopened,...
1
5,814
Posted By bb00y
umask
in this unix book that i have, it says:
the statement:

filedes = open(pathname, O_CREAT, mode);

is actually

filedes = open(pathname, O_CREAT, (~mask)&mode); /* ~ is the...
Forum: Programming 11-04-2002
27,062
Posted By bb00y
ANSI C vs POSIX
can somebody explain about the ANSI C vs POSIX. say i was using open and fopen, i know that open is POSIX, and fopen is ANSI C. i read that that POSIX is a system call and ANSI C is like a standard...
Forum: Programming 11-01-2002
2,712
Posted By bb00y
c compiler
i'm using linux to compile my c program right now. are there any free c compiler with all the standard header file, such as <stdio.h>, <unistd.h>..., i can download and use?
can Microsoft Visual...
Forum: Programming 10-12-2002
1,926
Posted By bb00y
sorry. everytime i run this code, enter an...
sorry. everytime i run this code, enter an option, the menu of options always display twice before i could choose the option again. for some reason, the first time through it doesn't let me enter an...
Forum: Programming 10-12-2002
1,926
Posted By bb00y
code help
why does this code present me the menu twice everytime i chose an option? i think it has something to do with the while loop.

#include <stdio.h>
void main(){
char choice;
int enter =1;
...
3,667
Posted By bb00y
it worked
winx is working. thanks everybody.
3,667
Posted By bb00y
sorry for replying so late. i have other stuff...
sorry for replying so late. i have other stuff to do lately.

anyway, i tried to "vi /etc/XF86Config" and it didn't give me any information...just a blank page.
i did a man on XF86Config and it...
3,667
Posted By bb00y
this is a unix for dummies section, and i am a...
this is a unix for dummies section, and i am a total dummy at unix. with that being said, how do i access my xf86config?
oh, by the way, i installed linux in my compaq laptop.
thanks
Forum: Programming 10-05-2002
2,040
Posted By bb00y
gimp help
any body familiar with using gimp in batch mode?
if so, please help.
i want to utilize the Script-Fu. instead of user interaction, i want to run it in batch mode.

gimp -n -b (command goes here)...
Forum: Programming 10-05-2002
8,360
Posted By bb00y
hey...that was totally cool. thanks alot
hey...that was totally cool. thanks alot
3,667
Posted By bb00y
actually, i downloaded linux 7.2 from redhat.com....
actually, i downloaded linux 7.2 from redhat.com. actually, it was a mirror site.

the message was actually.

fatal server error.
no screen found.

any idea?
thanks
Forum: Programming 10-03-2002
8,360
Posted By bb00y
hey yeah...it did bring vim editor back out. but...
hey yeah...it did bring vim editor back out. but how do i switch back to the command prompt? what i'm really interest in is the ability to switch back and forth between vim editor and command...
Forum: Programming 10-03-2002
8,360
Posted By bb00y
but that will still leave in the edit mode. what...
but that will still leave in the edit mode. what if i want to keep the shell prompt open so i can compile and edit (switching back and forth between windows). i think it has something to do with...
Forum: Programming 10-03-2002
8,360
Posted By bb00y
vim editor
in vim editor, if i want to save that file, i have to save and exit (ZZ). i want to be able to save the file without exiting. that way, i can compile the code and if i need to change some coding, i...
3,667
Posted By bb00y
it says something like: fatal error no screen...
it says something like:
fatal error
no screen found.

i'm running the red hat linux 8.0

when i installed it, i didn't get any error pertaining to the installion. i just picked the options...
Forum: Programming 10-02-2002
3,680
Posted By bb00y
a ha...i found the problem. instead of "myecho"...
a ha...i found the problem. instead of "myecho" i typed it as "myecho.c".
hey thanks alot for taking the time to answer.
by the way, i didn't run it as ./ i jut runned it regularly and it...
Forum: Programming 10-02-2002
3,680
Posted By bb00y
i'm using gcc. compiling on a remote computer...
i'm using gcc.
compiling on a remote computer using ssh.
the first main program i saved it as myecho.c
the second main program(the bottom portion) i called it caller.c
when i gcc caller.c then...
Forum: Programming 10-02-2002
3
1,805
Posted By bb00y
* vs &
what's the difference between *(pointer) and &(reference)? sometime i see code use * and sometime it uses &, i'm comfuse as when to use which.
thanks.
Forum: Programming 10-02-2002
3,680
Posted By bb00y
echo help
i found this code in the book but was unable to execute it.
/*myecho -- echo command line arguments */

main(int argc, char **argv)
{
while(--argc > 0)
printf("%s ", *++argv);
...
3,667
Posted By bb00y
unix window
i recently install redhat linux as a dual boot with win2000. after i log in my unix account. i tried to get window unix by typing startx or xinit. both gave me error. display message among other...
Forum: Programming 10-02-2002
2,339
Posted By bb00y
thank you. so wget is a program that i need to...
thank you.
so wget is a program that i need to activate to get the URL.
Forum: Programming 09-30-2002
2,339
Posted By bb00y
getting img url
hey, i just found this forum...how cool.
question:
does anybody know code or know where i can get the code to get a certain image URL from user? say user input URL from shell prompt when run the...
Showing results 1 to 25 of 25

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