Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 25 of 81) sorted by relevance

1234

/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dpsignal.c41 psignal (int sig, const char *s) in psignal() argument
50 if (sig >= 0 && sig < NSIG && (desc = INTUSE(_sys_siglist)[sig]) != NULL) in psignal()
63 (void) __asprintf (&buf, _("%s%sUnknown signal %d\n"), s, colon, sig); in psignal()
/haiku/src/system/libroot/posix/signal/
H A Dstrsignal.cpp95 strsignal(int sig) in strsignal() argument
97 if (sig < 0 || sig > __MAX_SIGNO) in strsignal()
100 return sys_siglist[sig]; in strsignal()
H A Dkill.c17 kill(pid_t pid, int sig) in kill() argument
21 if (sig < 0) { in kill()
26 status = _kern_send_signal(pid, sig, NULL, 0); in kill()
H A Draise.c20 raise(int sig) in raise() argument
22 RETURN_AND_SET_ERRNO(send_signal(find_thread(NULL), sig)); in raise()
H A Dsend_signal.c17 send_signal(thread_id thread, uint sig) in send_signal() argument
19 return _kern_send_signal(thread, sig, NULL, SIGNAL_FLAG_SEND_TO_THREAD); in send_signal()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_signals.c18 static void exit_handler(int sig) in exit_handler() argument
20 (void) sig; in exit_handler()
25 static int set_one_signal_handler(int sig, void (*handler)(int), int remove) in set_one_signal_handler() argument
35 if (sigaction(sig, NULL, &old_sa) == -1) { in set_one_signal_handler()
41 sigaction(sig, &sa, NULL) == -1) { in set_one_signal_handler()
/haiku/headers/compatibility/bsd/
H A Dsignal.h16 #define sigmask(sig) (1 << ((sig) - 1)) argument
25 int pthread_sigqueue(pthread_t thread, int sig, const union sigval value);
/haiku/src/system/libroot/posix/glibc/include/bits/
H A Dwaitstatus.h56 #define __W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) argument
57 #define __W_STOPCODE(sig) ((sig) << 8 | 0x7f) argument
/haiku/src/tests/kits/app/broster/testapps/
H A DRecentAppsTestApp.h8 RecentAppsTestApp(const char *sig) : BApplication(sig) {} in RecentAppsTestApp() argument
/haiku/src/add-ons/kernel/partitioning_systems/apple/
H A Dapple.h70 int16 sig = B_BENDIAN_TO_HOST_INT16(signature); in HasValidSignature() local
72 return sig == kPartitionMapSignature in HasValidSignature()
73 || sig == kObsoletePartitionMapSignature; in HasValidSignature()
/haiku/src/libs/bsd/
H A Dsignal.c47 pthread_sigqueue(pthread_t thread, int sig, const union sigval userValue) in pthread_sigqueue() argument
53 error = _kern_send_signal(thread->id, sig, &userValue, in pthread_sigqueue()
/haiku/src/servers/registrar/
H A DRecentEntries.cpp54 sig(appSig), in recent_entry()
118 if ((*item)->ref == *ref && !strcasecmp((*item)->sig.c_str(), appSig)) { in Add()
186 if (appSig != NULL && strcasecmp((*item)->sig.c_str(), appSig)) in Get()
259 (*item)->sig.c_str(), (*item)->index); in Print()
320 fprintf(file, " \"%s\" %" B_PRId32, entry->sig.c_str(), in Save()
H A DRecentEntries.h46 std::string sig; member
/haiku/src/libs/posix_error_mapper/
H A Dpthread_thread.cpp31 WRAPPER_FUNCTION(int, pthread_kill, (pthread_t thread, int sig),
32 return B_TO_POSITIVE_ERROR(sReal_pthread_kill(thread, sig));
/haiku/src/tests/kits/locale/
H A DcatalogTest.cpp123 BString sig; in Check() local
124 res = cat.GetSignature(&sig); in Check()
152 BCatalog cat2(sig.String(), lang.String(), fingerprint); in Check()
155 BCatalog cat3(sig.String(), lang.String(), fingerprint*-1); in Check()
H A DcatalogTestAddOn.cpp116 BString sig; in Check() local
117 res = cat.GetSignature(&sig); in Check()
119 assert(sig == catSig); in Check()
/haiku/src/apps/deskbar/
H A DBarApp.h103 char* sig, char* name, BBitmap* icon = NULL);
113 char* sig; variable
165 const char* sig, entry_ref*);
H A DBarApp.cpp870 TBarApp::AddTeam(team_id team, uint32 flags, const char* sig, entry_ref* ref) in AddTeam() argument
873 || strcasecmp(sig, kDeskbarSignature) == 0) { in AddTeam()
890 if (strcasecmp(barInfo->sig, sig) == 0) in AddTeam()
901 message.AddString("sig", multiLaunchTeam->sig); in AddTeam()
916 BarTeamInfo* barInfo = new BarTeamInfo(new BList(), flags, strdup(sig), in AddTeam()
938 message.AddString("sig", barInfo->sig); in AddTeam()
985 && strcasecmp(barInfo->sig, kDeskbarSignature) != 0) { in ResizeTeamIcons()
1067 if (be_roster->GetAppInfo(barInfo->sig, &appInfo) == B_OK) { in _CacheTeamIcon()
1166 BarTeamInfo::BarTeamInfo(BList* teams, uint32 flags, char* sig, char* name, in BarTeamInfo() argument
1171 sig(sig), in BarTeamInfo()
[all …]
/haiku/src/tests/kits/media/notificationtest/
H A Dmain.cpp103 App(const char *sig);
108 App::App(const char *sig) in App() argument
109 : BApplication(sig) in App()
/haiku/src/kits/locale/
H A DCatalog.cpp135 BCatalog::GetSignature(BString* sig) in GetSignature() argument
141 if (sig == NULL) in GetSignature()
147 *sig = fCatalogData->fSignature; in GetSignature()
/haiku/src/tests/apps/fake_app_server/
H A DAppServer.cpp364 AppServer::FindApp(const char *sig) in FindApp() argument
366 if (!sig) in FindApp()
376 if(foundapp && foundapp->Title() == sig) in FindApp()
/haiku/src/bin/unzip/
H A Dlist.c156 if (readbuf(__G__ G.sig, 4) == 0) in list_files()
158 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */ in list_files()
455 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */ in list_files()
522 if (readbuf(__G__ G.sig, 4) == 0)
524 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */
614 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
/haiku/src/bin/network/ping/
H A Dmain.c203 onsignal(int sig) in onsignal() argument
205 switch (sig) { in onsignal()
/haiku/data/catalogs/apps/deskbar/
H A Dda.catkeys2 Auto-hide PreferencesWindow Skjul af sig selv
15 Auto-raise PreferencesWindow Hæv af sig selv
/haiku/src/bin/
H A Durlwrapper.cpp263 BString sig; in ArgvReceived() local
265 sig = host << "/" << path; in ArgvReceived()
267 if (be_roster->GetAppInfo(sig.String(), &info) == B_OK) { in ArgvReceived()
268 BMessenger msgr(sig.String()); in ArgvReceived()
272 if (be_roster->Launch(sig.String(), &msg) == B_OK) in ArgvReceived()

1234