sunos
atomic operation implementation
i am using atomic operation provided by SunOs in <sys/atomic.h> , which is void *atomic_cas_ptr(volatile void *target, void *cmp, void *newval);[详细]
2023-03-13 20:41 分类:问答get process name, pid and port mapping from netstat command in SunOS
I am trying to get the mapping of port number to application that is running/using the port in SunOS $netstat开发者_JAVA百科 -tlnp[详细]
2023-03-05 05:03 分类:问答How to change shell in script temporary in sunOS?
The machine has default shell \"sh\" and running SunOS. I try to run the script like: #!/bin/bash export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P9[详细]
2023-02-28 10:27 分类:问答Website showing PHP source
I have a server running on SunOS 5.1, and I\'m having an issue with the source of a php file displaying.The source starts displaying after => when setting up an array.After the first => it displays th[详细]
2023-02-07 01:25 分类:问答How to link non thread-safe library so each thread will have its own global variables from it?
I have a program that I link with many libraries. I run my application on profiler and found out that most of the time is spent in \"waiting\" state after some network requests.[详细]
2023-01-16 19:09 分类:问答UNIX programming
Hi i want to convert UNIX date to normal date (YYYY-MM-DD) 22222,0,0,开发者_如何学JAVA0,14387 33333,0,0,0,14170[详细]
2023-01-09 09:48 分类:问答How can I wrap an executable on UNIX (SunOS) so that it is never run more than once at the same time?
I have an executable (no source) that I need to wrap, to make sure that it is not called more than once at a time. I immediately think of some sort of queue wrapper, but how do I actually make it so t[详细]
2022-12-29 07:50 分类:问答How to capture shift-tab in vim
I want to use shift-tab for auto completion and shifting code blocks visually. I have been referring to Make_Shift-Tab_work . That link talks about mapping ^[[Z to shift-tab . But i don\'t get ^[[Z wh[详细]
2022-12-28 22:52 分类:问答Makefile error: Unexpected end of line seen
Trying to install Git, I ran configure and make, but got the following error message: make: Fatal error in reader: Makefile,[详细]
2022-12-25 13:30 分类:问答