C/hi

Advertisement


Question
Can I get all the code for restarting the Computer b'coz I would like to add new things & learn new things using the code.

Answer
You can surely get.
Sun has made Solaris open wource.
And it has the init command, reboot command, poweroff command, etc.
These commands will do exactly the things that you are looking for.
So, you can look at the source code and do whatever you want.
Goto: www.opensolaris.org and start searching.
Or sign up with a discussion group and start asking questions.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Narendra

Expertise

I can answer questions in C related to programming, data structures, pointers and file manipulation. I use Solaris for doing C code and if you have questions related to C programming on Solaris, I will be able to help better.

Experience

6.5

Organizations belong to
Sun Microsystems

Awards and Honors
Brain Bench Certified Expert C programmer.
Advanced System Software Certified

©2012 About.com, a part of The New York Times Company. All rights reserved.