EmbLogic's Blog

Author Archives: rahul.gautam

EXEC family….

fd = open(“1.txt”,O_CREAT|O_RDONLY); fd1 = open(“2.txt”,O_CREAT|O_RDONLY); pid_t p; p = fork(); if (p == 0) { printf(“entering into child process\n”); execl(“./test”,”test”,fd,fd1,NULL); } else { printf(“this is parent\n”); } return 0; DOUBT:- the execl statement is not being executed….the program is … Continue reading →

Posted in Uncategorized | 1 Comment

CVS…..

#include<stdio.h> #include<string.h> static char *RCSinfo = “$id$”; vprintf(“RSC control: %s\n”,RCSinfo); int main() { printf(“hello”); return 0; } errors: MACROS.c:5:9: error: expected declaration specifiers or ‘…’ before string constant MACROS.c:5:29: error: expected declaration specifiers or ‘…’ before ‘RCSinfo’ make: *** [MACROS] … Continue reading →

Posted in Uncategorized | Leave a comment

LINUX

on my lappi i have linux as well as windows 7 installed..weneva i am try to get into linux it is not working properly….it is going till the desktop but it shows nothing on the desktop..so cn anyone help me … Continue reading →

Posted in Uncategorized | 1 Comment

development tools

i did programs based on make utility.. but still facing some problem in archiving the .o files into one library…:(

Posted in Uncategorized | Leave a comment

c-program

today i did programs based on console i/o and file i/o….

Posted in Uncategorized | Leave a comment

c program

i started doing assign2 having some doubts in assign1….will be discussing those doubts with my class mates tomorrow. AND ONE DOUBT IS THERE THAT WHY I AM NOT ABLE TO USE ‘^’ TO CALCULATE THE POWER…..I READ SOMEWHERE THAT IT … Continue reading →

Posted in Uncategorized | 1 Comment

shell script

AT LAST SIDDHARTH SIR WORDS GAVE ME THAT INSPIRATION BCZ OF WHICH ATLAST I TRIED SOMETHING NEW OF MY OWN N GOT SUCCEDDED IN IT….

Posted in Uncategorized | Leave a comment