Sir , today ‘s Assignment Q1,Q2,Q3, has completed Q4,Q5 i am trying out
sir i see the output to the function syslog,openlog,closelog,extract enviornt variable, getenv(),and,putenv() function………………………….
I successfully extract and change the environment variable using getenv() and putenv().also complete the syslog for log entries and and setlogmask….
i have completed these function getenv,putenv,openlog,closelog,setlogmask,syslog only one is left redirect a portion of file using tty
i have used the functions->getenv,putenv,openlog,closelog,syslog,setlogmaskenviron,… working on ./dev/tty.
I successfully completed following topics, 1.Successfully extracted current environment variable using getenv. 2.Changed current env var using putenv. 3.Extracted all env var using Environ. 4.successfully used syslog,openlog,closelog,setlogmask. 5.working on redirection of portion of output to file.
i use /dev/tty for redirect the stdout for particular portion for the program but it redirect all the stdout statements…
hii.. when we used the environ varible for fetch the envirnoment variable its only extract the 29 variable but predefine standard environ varible is 157…so wht about remaning…?
we have complited our parallel-port driver for nibble and compatible mode
finally….we have completed nibble mode of parallel port….feeling great
hiii i have work on parallel port nibble mode and i want to know about my parallel port how many modes support my port? and currently which mode on my port ??? and any method to change the current mode? … Continue reading
IThis following c program working fine but i am unable to understand the flow of program. Please explain. #include char input[] = “SSSWILTECH1\1\11W\WALLMP1″; int main() { int i,c; for(i=2;(c= input[i])!=”;i++) { // printf(“==c:%d..%ci\n”,c,c); switch(c) { case ‘a’: putchar(‘i’); continue; case … Continue reading
I would like to share my very basic usb driver that i had been working on.. i didnt got much time to complete it.. this driver supports my SAMSUNG S3310 usb mass storage device.. the driver dosent do much, it … Continue reading
In the ioctl function at driver level…….., the switch(cmd) statement have ‘cmd’ as the argument but we can see cmd is of ‘unsigned int’ type… i want to ask how the switch function perform case matching…. switch(cmd) { case IOSQSET: … Continue reading