Search Results

Search: Posts Made By: fdarkangel
13,828
Posted By fdarkangel
man 1 getopt
man 1 getopt
Forum: Programming 11-16-2005
5,851
Posted By fdarkangel
i once saw a utililty "what" that extracts SCCS...
i once saw a utililty "what" that extracts SCCS information, in files that have.
Forum: Programming 11-14-2005
1,594
Posted By fdarkangel
K&R (http://en.wikipedia.org/wiki/K%26R) man...
K&R (http://en.wikipedia.org/wiki/K%26R)
man getcwd
Forum: Programming 11-13-2005
6,558
Posted By fdarkangel
well, i've came across with that problem when i...
well, i've came across with that problem when i attemped to write a shell. i thought, programs' output should be filtered/processed by shell interpreter first, and then sent to shell screen-output...
Forum: Programming 11-13-2005
5,228
Posted By fdarkangel
it looks like this's a signal forwarding....
it looks like this's a signal forwarding. however, since not all signals can be caught (such as kill), all signals won't be forwarded.


for what?
Forum: Programming 11-13-2005
118,158
Posted By fdarkangel
and as for a small example: $ scp...
and as for a small example:

$ scp source/file.c remoteuser@remoteaddr:remote/dir
$ scp -r remoteuser@remoteaddr:remote/dir ~/tmp

check-out the man pages for good descriptions.
Forum: Programming 11-13-2005
3,317
Posted By fdarkangel
GNU autotools. however, i'd suggest learning...
GNU autotools.
however, i'd suggest learning how to write a Makefile rather than using autotools at the first stage.
Forum: Programming 11-13-2005
6,558
Posted By fdarkangel
i too have a question on the topic. how do i...
i too have a question on the topic.
how do i read from keyboard if stdin is actually stdout of another program. an example is less/more: keyboard input still works when they're piped.
Forum: Programming 10-05-2005
2,337
Posted By fdarkangel
dname=(char *)malloc(sizeof(int)); ...
dname=(char *)malloc(sizeof(int));
sprintf(dname,"node_%d",id);


this'll allocate 4 bytes on my machine for instance, and string "node_%d" requires at least 6 bytes.
Forum: Programming 08-27-2005
6
c++
2,199
Posted By fdarkangel
c/c++ what? compiler (http://gcc.gnu.org)?
c/c++ what? compiler (http://gcc.gnu.org)?
Forum: Programming 08-18-2005
6,072
Posted By fdarkangel
check out this URL...
check out this URL (http://www.google.com.tr/url?sa=t&ct=res&cd=1&url=http%3A//www.ecst.csuchico.edu/%7Ebeej/guide/net/&ei=hG0EQ8_WD8zARcvr7KIO).
Forum: Programming 08-17-2005
1,663
Posted By fdarkangel
can you post the code that caused this runtime...
can you post the code that caused this runtime error?
Forum: Programming 08-17-2005
3,075
Posted By fdarkangel
well, above c program will do absolutely nothing....
well, above c program will do absolutely nothing.
if your shell script code is ./prog < file then you can try this:


#include <stdio.h>

int main()
{
int c;

while( (c =...
Forum: Programming 08-17-2005
2,835
Posted By fdarkangel
you need to include string.h for the defitinion.
you need to include string.h for the defitinion.
Forum: Programming 08-09-2005
1,608
Posted By fdarkangel
1. you don't have standard headers installed? try...
1. you don't have standard headers installed? try installing development packages.
if your headers are installed somewhere else, you can use:
gcc -I/somewhere/else -o program program.c

2. do you...
Forum: Programming 08-08-2005
3,185
Posted By fdarkangel
you mean sending a ctrl+c? i guess you need to...
you mean sending a ctrl+c?
i guess you need to have write permission to corresponding /dev/tty* file; you can try writing 0x3 to that file.
5,495
Posted By fdarkangel
check out this...
check out this (https://www.unix.com/showthread.php?t=20491) topic.
3,131
Posted By fdarkangel
yes, it's very correct. you might want to use...
yes, it's very correct. you might want to use "auto" rather than "msdos", though. if you want to use a shorter syntax such as:
mount /mnt/my_blah
you first need to add an entry to the /etc/fstab....
3,450
Posted By fdarkangel
the program seems to have sent a request to...
the program seems to have sent a request to kernel for an increment in it's data segment, but kernel refused to do it.
check out the errno, i think it's probably set to ENOMEM. you can use...
Forum: Programming 08-05-2005
3,447
Posted By fdarkangel
you can use system() or exec/spawn function...
you can use system() or exec/spawn function families. check out the man pages for their details.
13,139
Posted By fdarkangel
as far i know, this specific information is not...
as far i know, this specific information is not stored anywhere by default. but you can try checking modification date of /home/user (if there's such directory).
Forum: What is on Your Mind? 07-31-2005
17,804
Posted By fdarkangel
mine is f(Dark, Angel) f stands for function,...
mine is f(Dark, Angel)
f stands for function, as in classic math notation. it takes 2 parameters. "Dark" used to be my handle, and "Angel" is about a girl...
2,126
Posted By fdarkangel
in UNIX, generally, the keyboard input is not...
in UNIX, generally, the keyboard input is not echoed to screen when typing a password; however the program will recieve the input as expected.
i'm not sure about the idea behind it, it might be...
2,810
Posted By fdarkangel
you can use symlinks -vr /dir/to/check | grep...
you can use
symlinks -vr /dir/to/check | grep /dir/to/delete
to check directory /dir/to/check for symbolic links to some file under /dir/to/delete.
3,327
Posted By fdarkangel
ugh. what's the relation between...
ugh. what's the relation between LongDesciption_of_File and Totally_different_Char_string (is there a rule to produce latter one from the first one, or are they just constants)? Are MM, DD and YY...
Showing results 1 to 25 of 42

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