Searched refs:sig (Results 1 - 25 of 63) sorted by relevance

123

/haiku/src/system/libroot/posix/signal/
H A Draise.c20 raise(int sig) argument
22 RETURN_AND_SET_ERRNO(send_signal(find_thread(NULL), sig));
H A Dsend_signal.c17 send_signal(thread_id thread, uint sig) argument
19 return _kern_send_signal(thread, sig, NULL, SIGNAL_FLAG_SEND_TO_THREAD);
H A Dkill.c17 kill(pid_t pid, int sig) argument
21 if (sig < 0) {
26 status = _kern_send_signal(pid, sig, NULL, 0);
H A Dstrsignal.cpp95 strsignal(int sig) argument
97 if (sig < 0 || sig > __MAX_SIGNO)
100 return sys_siglist[sig];
/haiku/headers/compatibility/bsd/
H A Dsignal.h16 #define sigmask(sig) (1 << ((sig) - 1))
/haiku/src/tests/kits/app/broster/testapps/
H A DRecentAppsTestApp.h8 RecentAppsTestApp(const char *sig) : BApplication(sig) {} argument
19 // 3: Control: (same as qualifying, but with a different sig to make sure qualifying apps work correctly)
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dpsignal.c41 psignal (int sig, const char *s) argument
50 if (sig >= 0 && sig < NSIG && (desc = INTUSE(_sys_siglist)[sig]) != NULL)
63 (void) __asprintf (&buf, _("%s%sUnknown signal %d\n"), s, colon, sig);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_signals.c18 static void exit_handler(int sig) argument
20 (void) sig;
25 static int set_one_signal_handler(int sig, void (*handler)(int), int remove) argument
35 if (sigaction(sig, NULL, &old_sa) == -1) {
41 sigaction(sig, &sa, NULL) == -1) {
/haiku/src/system/libroot/posix/glibc/include/bits/
H A Dwaitstatus.h56 #define __W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
57 #define __W_STOPCODE(sig) ((sig) << 8 | 0x7f)
/haiku/src/add-ons/kernel/partitioning_systems/apple/
H A Dapple.h70 int16 sig = B_BENDIAN_TO_HOST_INT16(signature); local
72 return sig == kPartitionMapSignature
73 || sig == kObsoletePartitionMapSignature;
/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/servers/registrar/
H A DRecentEntries.h46 std::string sig; member in struct:recent_entry
H A DRecentEntries.cpp54 sig(appSig),
118 if ((*item)->ref == *ref && !strcasecmp((*item)->sig.c_str(), appSig)) {
185 // Filter by app sig
186 if (appSig != NULL && strcasecmp((*item)->sig.c_str(), appSig))
259 (*item)->sig.c_str(), (*item)->index);
276 the index values for each entry/sig pair to reflect the current
320 fprintf(file, " \"%s\" %" B_PRId32, entry->sig.c_str(),
/haiku/src/tests/kits/media/notificationtest/
H A Dmain.cpp103 App(const char *sig);
108 App::App(const char *sig) argument
109 : BApplication(sig)
/haiku/src/tests/kits/locale/
H A DcatalogTestAddOn.cpp116 BString sig; local
117 res = cat.GetSignature(&sig);
119 assert(sig == catSig);
H A DcatalogTest.cpp123 BString sig; local
124 res = cat.GetSignature(&sig);
152 BCatalog cat2(sig.String(), lang.String(), fingerprint);
155 BCatalog cat3(sig.String(), lang.String(), fingerprint*-1);
/haiku/src/kits/locale/
H A DCatalog.cpp135 BCatalog::GetSignature(BString* sig) argument
141 if (sig == NULL)
147 *sig = fCatalogData->fSignature;
/haiku/src/apps/deskbar/
H A DBarApp.h103 char* sig, char* name, BBitmap* icon = NULL);
113 char* sig; member in class:BarTeamInfo
165 const char* sig, entry_ref*);
H A DBarApp.cpp870 TBarApp::AddTeam(team_id team, uint32 flags, const char* sig, entry_ref* ref) argument
873 || strcasecmp(sig, kDeskbarSignature) == 0) {
890 if (strcasecmp(barInfo->sig, sig) == 0)
901 message.AddString("sig", multiLaunchTeam->sig);
916 BarTeamInfo* barInfo = new BarTeamInfo(new BList(), flags, strdup(sig),
938 message.AddString("sig", barInfo->sig);
985 && strcasecmp(barInfo->sig, kDeskbarSignatur
1166 BarTeamInfo(BList* teams, uint32 flags, char* sig, char* name, BBitmap* icon) argument
[all...]
/haiku/src/tests/apps/fake_app_server/
H A DAppServer.h55 ServerApp* FindApp(const char *sig);
H A DAppServer.cpp357 \param sig MIME signature of the application to find
364 AppServer::FindApp(const char *sig) argument
366 if (!sig)
376 if(foundapp && foundapp->Title() == sig)
/haiku/src/tests/kits/app/bapplication/testapps/
H A DBApplicationTestAppQuitWhenStartedFromAnotherThread.cpp22 sighandler(int sig) argument
/haiku/src/bin/network/ping/
H A Dmain.c203 onsignal(int sig) argument
205 switch (sig) {
/haiku/src/bin/network/telnet/
H A Dsys_bsd.c814 deadpeer(int sig __unused)
822 intr(int sig __unused)
834 intr2(int sig __unused)
850 susp(int sig __unused)
862 sendwin(int sig __unused)
873 ayt(int sig __unused)
/haiku/src/bin/unzip/
H A Dlist.c156 if (readbuf(__G__ G.sig, 4) == 0)
158 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */
171 return PK_BADERR; /* sig not found */
455 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */
457 error_in_archive = PK_WARN; /* didn't find sig */
522 if (readbuf(__G__ G.sig, 4) == 0)
524 if (strncmp(G.sig, central_hdr_sig, 4)) { /* is it a CentDir entry? */
537 return PK_BADERR; /* sig not found */
614 if (strncmp(G.sig, end_central_sig, 4)) { /* just to make sure again */

Completed in 155 milliseconds

123