operating-system

Solaris OS latest version for i386

I am running following solaris OS on I386 processors: $ uname -a SunOS oobleck 5.10 Generic_127128-11 i86pc i386 i86pc $ CC -V CC: Sun C++ 5.8 Patch 121018-11 2007/05/02 I checked on Oracle's web page and it seems that there latest version is Solaris 10 http://www.sun.com/software/solaris/releases.jsp The instruction set is: $ isainf...

Is there a way to find out if an IP address belongs to an iPhone?

I am trying to find a simple way to check if an IP address belongs to an iPhone. A solution that I can imagine is to use nmap to determine the operating system of the specified IP address and then check whether it's iOS.. Is this a right way? Otherwise, could anyone suggest me an alternative way? Thank you, Thanasis ...

Question Regarding Linux kernel book

Hello guys, I have a question regarding Linux kernel books.Currently I am reading Understanding Linux Kernel 3rd edition. But most of my friends recommended me Linux kernel development3rd editon. In order to buy that book it costs me 40$ for me. So any one who have read both the books can tell me is it worth owning a second book and w...

memory question

i have following question i have RAM 2.5 GB in my computer what i want is if it is possible that in case of allocate totally memory to some process or for example char * buffer=malloc(2.4GB) , no more process ( google chrome, microsoft games in computer..etc) can run? ...

How tro retrieve the iPhone's locale setting

Hello, I have googled for it but I am a bit surprised that I couldn't find it. I just want to access what locale the device has configured. I tried to find how to list all system propreties (in case I could find the locale there) but couldn't even find how to do that. I know(/think) I have retrieved the system properties before, but I ...

What language is used to write operating systems (Windows)?

What is the language used to write operating systems (Windows) or a boot CD? ...

Where can I learn how to make a C++ program interact with the Operating System (Linux)

I am a C++ beginner. I'd like to create small programs that interact with the operating system (using Kubuntu Linux). So far, I have not been able to locate any tutorial or handbook to get C++ to interface with the OS. In PHP, I can use the command exec() or the backtick operator to launch commands typically executed in a console. How ...

Who determines the ordering of characters

I have a query based on the below program - char ch; ch = 'z'; while(ch >= 'a') { printf("char is %c and the value is %d\n", ch, ch); ch = ch-1; } Why is the printing of whole set of lowercase letters not guaranteed in the above program. If C doesn't make many guarantees about the ordering of characters in internal form, then...

detecting the memory page size

Is there a portable way to detect (programmatically) the memory page size using C or C++ code ? ...

what is the Operating System found in non-branded china phones ??

Hi everyone, I'm a budding developer. I am trying to modify the OS of typical china mobiles (http://www.chinavasion.com/product_info.php/pName/direktor-wifi-dual-sim-quadband-worldphone/) and make it as good as a nokia OS. Even many popular companies like Fly, Lava, Micromax and many others are also using the more or less similar OS. Bu...

The direction of stack growth and heap growth

In some systems, the stack grows in upward direction whereas the heap grows in downward direction and in some systems, the stack grows in downward direction and the heap grows in upward direction. But, Which is the best design ? Are there any programming advantages for any of those two specific designs ? Which is most commonly used and w...

Avoiding the main (entry point) in a C program

Is it possible to avoid the entry point (main) in a C program. In the below code, is it possible to invoke the func() call without calling via main() in the below program ? If Yes, how to do it and when would it be required and why is such a provision given ? int func(void) { printf("This is func \n"); return 0; } int main(vo...

Can a executable behave differently when run on a Virtualized Server?

Let's say I have a piece of code that runs fine on an OS. Now, if I install that OS on a virtual machine (server virtualization), and run that code on that, is it possible that the code behaves differently? If so, what are the prerequisites for that? For example, does it have to be compiled machine code (in other words, are interprete...

what is a kernal, bootloader?

hello friends, i need to know about boot loader and kernel in deep from its basic. i search the google and got a lot of links... but i need to find the good ones. if you pals have any docs or video or htmls share with me..... thanks in advance ...

Python - difference between os.access and os.path.exists?

def CreateDirectory(pathName): if not os.access(pathName, os.F_OK): os.makedirs(pathName) versus: def CreateDirectory(pathName): if not os.path.exists(pathName): os.makedirs(pathName) I understand that os.access is a bit more flexible since you can check for RWE attributes as well as path existence, but is th...

How does a Windows Kernel mode Driver, access paged memory ?

1) A usermode process has its own "address context", which maps the user-mode virtual addresses to a unique collection of physical page frames. That is, the meaning of any particular virtual address changes from one moment to the next as the Windows XP scheduler switches threads. Part of work of "switching threads" is to change the page...

access of utilities in symbian os

how do i access the existing utilities of my nokia mobile phone???? ...

Editing System Files With Elevated Permissions and PHP

I am attempting to create a very simple web interface for changing some system settings on a network appliance. I am fairly new to PHP and becoming painfully aware of how easy it is to do things in hacky ways, so I am trying to write everything with the best practices in mind. That said, what would the best practice be for editing files...

mac os x Component Object Model equivalent

I'm trying to port an application I've written in Qt from the windows platform to the Mac OS X platform. The application is relatively simple: It queries the user for a document (either MS Word, or OOo Writer document). It than launches that that document inside the respective application, and than replaces various text elements with o...

The difference between Call Gate, Interrupt Gate, Trap Gate?

I am studying Intel Protected Mode. I found that Call Gate, Interrupt Gate, Trap Gate are almost the same. In fact, besides that Call Gate has the fields for parameter counter, and that these 3 gates have different type fields, they are identical in all other fields. As to their functions, they are all used to transfer code control into...