unix / linux programming study notes- Open file descriptors and function

To talk about unix / linux for file operations in these functions,These functions for linux basically meet our requirements in any document,
First talk about the open function
In linux you want to operate on the file must first open the file and then the corresponding processing,Why should we do it? That is because the process and not directly manipulate files between,To process the file first to use the system call between processes and documents connected to a resume operations,This connection becomes a file descriptor,Called as a process leading to the kernel by the kernel[……]

Click link to continue reading...

Update Flash cause Safari to crash Remedy

The new updated version of the flash in some cases require a lot of courage,For example, yesterday,After routing update Flash version of Safari has led to the collapse can not afford。

If you're not careful and I encountered the same problem,Then you can followHereThe official way to manually remove the plug,If you bother to look into the points,Now I write that

The brief resolution process

Use uninstall to uninstall Flash

If your system is 10.6-10.9 version,Then you can try to download the official uninstaller to uninstall Flash。

[Downlin[……]

Click link to continue reading...

ZTE c200 listen to the multicast configuration process summary records

[……]

Click link to continue reading...

Little understanding of Unix System Structure

UnixLittle understanding of architecture

It can be defined as a software operating system in the strict sense,The software controls the computer hardware resources,Provider operating environment for personal understanding of hardware and software wealthy。We call such software kernel (kernel),It is relatively small,Located in the center of the environment

Kernel system call interface is called (system calls) Shared libraries built on top of the system call interface,Applications can either use the shared library,You can also use the system call。

ShellIt is a special application[……]

Click link to continue reading...

Access、Trunk and Hybrid and this VLAN

Three modes switch port

On the switch,There are three commonly used configuration mode,Respectively Access (Access),Trunk (trunk or trunk) as well as Hybrid (Hybrid),These three interfaces operating mode determines the corresponding interface for processing the attitude data packets on the switch。Nowadays,Routing to elaborate on these three models。

label

Since the switch has divided the virtual LAN VLAN function is,Therefore, it is allowed to switch into the Ethernet frame data marked with a tag,VLAN is used to identify different data flows,To be forwarded。This is what we often[……]

Click link to continue reading...

main (int ac, char * of[])和 main(int argc,char *argv[]) Of some of my understanding

Observance of the whereabouts of the 100th article,,,Although the content is somewhat illegible

Yesterday, see route on the main (int argc,char *argv[]) The article feels written brief said such a function

Of course first contact functions of this function is not the main (int argc,char *argv[]) But the main (int AC, char * of[])

They use the same。

Each c language program must have a function called main of[……]

Click link to continue reading...

USB interface to Know

Universal Serial Bus

USB's full name is this,,A blink of an eye,USB 1.0 standard came from the 3.0,of course,Little blue box 3.0 also does not fully into our lives,As it is now around us phone、flat、SLR,Almost still in use USB2.0 standard,Occasionally,People around him or will not tell exactly which line corresponds to which device,What can mix,Which can not。

[warning]
The line can not be mixed is not inserted into the device,Because different shapes,Can insert the,a few[……]

Click link to continue reading...