This site works best with JavaScript enabled
Sign In
Discussions
Activity
Sign In
Previous Results
Embedded Lovers : B 97 :Work log /Useful Information only --NO QUERIES PLZ--
Script to display the contents of current directory via 'ls -alt' by iterating through each line of text using IFS value as '\n'. number at last displays total iterations or basically no of files/dir.
#! /bin/bash
#IFS=$…
by
sankalpnegi2310
May 2017
Query
permalink
This code will shutdown your system??????
#include
#include
#include
#include
void handler(int);
int main()
{
int ret;
ret = fork();
switch(ret)
{
case -1:
perror("!fork() fail!");
…
by
ankitkhasa543
February 2017
Query
permalink
Rahul setia
hey friends ,, i have a problem in my laptop (dell 3568 i3 6th generation).
i installed debian 8.6, in which i am facing problem,,,, whenever i shutdown this or down the lid, then it is neither get shutdown nor goes on sleep mode. i also tried it w…
by
rahul.setia9
February 2017
Query
permalink
intrpolation search is not working with this series
===================================================
This is the code
===================================================
#include
#include
#include
struct bs
{
int key;
int l,h,m;
i…
by
ankitkhasa543
February 2017
Query
permalink
Client Server Application using IPC and Synchronization techniques.
I made 3 clients using PIPES.Works fine. Unfortunately i had to use sleep() because i am using fork and execl to open the client and operation processes. So to avoid block on read/write i had to use sleep. Can i avoid such problem without using slee…
by
abhishek95v
September 2016
003 Linux System Programming
permalink
Log file for IPC using signals in multiple clients!
pre.cjk { font-family: "WenQuanYi Zen Hei Sharp",monospace; }p { margin-bottom: 0.1in; line-height: 120%; }a:link { }
RCS file: mainLM.c,v
Working file: mainLM.c
head: 1.15
branch:
locks: strict
root: 1.15
access list:
symbol…
by
kamyasuraj
February 2016
Query
permalink
Client Server Application using IPC and Synchronization techniques.
Hey Amardeep
you are facing this problem as u must have included sleep in your program. Each time you run the program ur schedular schedules the process in a very undefined manner that you don't have control on. So I suggest u to not use the s…
by
er.raviraja.rr
January 2016
003 Linux System Programming
permalink
Client-Server Using Linux and IPC by FIFO,Pipes ans signals for n clients
----------------------------
revision 1.14
date: 2015/12/21 08:00:30; author: root; state: Exp; lines: +2 -2
*** empty log message ***
----------------------------
revision 1.13
date: 2015/12/21 07:47:37; author: root; state: Exp; lines:…
by
ankurg92
January 2016
Query
permalink
Client-Server Using Linux and IPC by FIFO,Pipes ans signals for n clients
RCS file: server.c,v
Working file: server.c
head: 1.46
branch:
locks: strict
root: 1.46
access list:
symbolic names:
keyword substitution: kv
total revisions: 46; selected revisions: 46
description:
Ii can handle only 1 client in t…
by
ankurg92
January 2016
Query
permalink
project 03 implementation of client server at one server and three processing client and three reque
RCS file: server.c,vWorking file: server.chead: 1.47branch:locks: strict root: 1.47access list:symbolic names:keyword substitution: kvtotal revisions: 47; selected revisions: 47description:this is a server program that accept request and p…
by
jitu.kumar1436
December 2015
Query
permalink
Client Server Implementstion using IPC and threads
revision 1.51
date: 2015/12/28 18:04:05; author: root; state: Exp; lines: +1 -1
syntax error corrected
—————————-
revision 1.50
date: 2015/12/28 18:03:14; author: root; state: Exp; lines: +1 -1
arr3[2] declared
—————————-
revision 1.49
date…
by
er.raviraja.rr
December 2015
003 Linux System Programming
permalink
Client Server Implementstion using IPC and threads
RCS file: server.c,v
Working file: server.c
head: 1.58
branch:
locks: strict
root: 1.58
access list:
symbolic names:
keyword substitution: kv
total revisions: 58; selected revisions: 58
description:
This is Server program that accepts req…
by
er.raviraja.rr
December 2015
003 Linux System Programming
permalink
Client Server Implementstion using IPC and threads
RCS file: server.c,vWorking file: server.chead: 1.47branch:locks: strict root: 1.47access list:symbolic names:keyword substitution: kvtotal revisions: 47; selected revisions: 47description:This is Server program that accepts requests and p…
by
er.raviraja.rr
December 2015
003 Linux System Programming
permalink
CLIENT-SERVER PROJECT USING IPC...WITH 3 CLIENT& 3 PROCESSES USING DIFF. PIPES
///PIPE COULD BE EASILY IMPLEMENTED BY CREATING A NEW PROCESS....FIFO COULD BE EASILY IMLEMENTING BY CREATING A NEW THREADS.......
///no problem like in fifo .......that writer have to write untill reader is reading
//How fork work with diffrent p…
by
anubala331
May 2015
Query
permalink
Client Server Application - Multi threaded server.
#########################################################################################
client2.c
############################################################################################
#inc…
by
subodhkant2234
January 2015
003 Linux System Programming
permalink
Duplicating Processes using Fork.
implementation of system call wait() in process management
RCS file: wait.c,v
Working file: wait.c
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revision…
by
binayak2508
November 2014
003 Linux System Programming
permalink
/*A C PRORAM TO USE low level file operations/...fopen...fgetc...fputc...fclose*/
1 /*A C PRORAM TO USE low level file operations/...fopen...fgetc...fputc...fclose*/ 2 #include 3 #include 4 int main() 5 { 6 char ch,sor[10],tar[10]; 7 FILE *fd,*wfd; 8 gets(sor); 9 puts(sor); 10 fd=f…
by
anubala331
August 2014
Query
permalink
A MISHAPPENING TO THE CODE WITH OVERWRITING CODE WHICH IS RUNNING AT NOW TIME ..
/*A MISHAPPENING WITH CODE BY OVERRITING SAME CODE WHICH IS RUNNING NOW*/#include#include#include#include#includeint main(){char buff;int sor,wfd,bfd,count=1,i=0;bfd=open("desti",O_RDONLY);printf("bfd=%d\n",bfd);wfd=open("ch…
by
anubala331
July 2014
Query
permalink
WONDERFUL PROJECT OF MULTIPLE DATA COMPRESSION USING SOCKET-WITH SERVER ,CLIENT,PROCESS
count=1;
rfd=open("source4",O_RDONLY);//OPEN THE FILE IN O_RDONLY MODE WHICH IS TO BE COMPRESSED//
while(count)
{
//printf("set set set c1\n");
//sleep(1) …
by
anubala331
July 2014
Query
permalink
DEMO PROGRAM OF CREATING STACK,,PUSHING & POPING--DATA STRUCTURE
//STACK WORKS ON FILO ALGORITHM...FIRST IN LAST OUT...ALGORITHM....//MEANS IF WE ARE PUSHING THE VALUES FROM TOP ..THEN WE //ALSO HAVE TO POP THE VALUES FROM TOP....//////THIS IS JUST LIKE NO. OF PLATES ARE PLACED (PUT) ON THE TOP & TOP...& …
by
anubala331
July 2014
Query
permalink
Powered by
Vanilla
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership