{"id":15675368,"url":"https://github.com/adjivas/sig","last_synced_at":"2025-05-06T22:09:37.246Z","repository":{"id":57667342,"uuid":"44218500","full_name":"adjivas/sig","owner":"adjivas","description":"FFI process signal","archived":false,"fork":false,"pushed_at":"2020-04-09T17:41:55.000Z","size":604,"stargazers_count":6,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T22:09:19.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://adjivas.github.io/sig/sig","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adjivas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-14T02:15:58.000Z","updated_at":"2024-02-15T10:51:29.000Z","dependencies_parsed_at":"2022-09-26T20:31:55.029Z","dependency_job_id":null,"html_url":"https://github.com/adjivas/sig","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjivas%2Fsig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjivas%2Fsig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjivas%2Fsig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adjivas%2Fsig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adjivas","download_url":"https://codeload.github.com/adjivas/sig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776599,"owners_count":21802469,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T15:58:58.791Z","updated_at":"2025-05-06T22:09:37.062Z","avatar_url":"https://github.com/adjivas.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Signal\n\n[![Crate][crate-badge]][crate] [![docs-badge][]][docs] [![license-badge][]][license] [![travis-badge][]][travis] [![circle-badge][]][circle]\n\nSupports POSIX. Untested on Windows (Not tested).\n\n### Todo:\nSolve issues:\n* [Support Windows](https://github.com/adjivas/sig/issues/5)\n* [Consider using sigaction() instead of signal()](https://github.com/adjivas/sig/issues/3)\n* [Signal handlers should be unsafe functions](https://github.com/adjivas/sig/issues/2)\n\n#### How to build:\n```shell\ngit clone https://github.com/adjivas/sig.git signal \u0026\u0026 cd signal\ncargo build\n```\n\n#### How to use:\n* cargo run --example getpid\n* cargo run --example usr1\n\n#### Directory-Tree:\n```shell\n.\n|__ Cargo.toml\n|__ LICENSE\n|__ README.md\n|__ examples\n|   |__ usr1.rs\n|   \\__ getpid.rs\n\\__ src\n    |__ ffi.rs\n    |__ lib.rs\n    \\__ macros.rs\n```\n\n#### License:\n**Sig**'s code in this repo is licensed under either of:\n\nuses the [APACHE][license-mit] and [MIT][license-apache] license.\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0).\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT).\n\n  [license-apache]: https://github.com/adjivas/sig/blob/master/LICENSE-APACHE\n  [license-mit]: https://github.com/adjivas/sig/blob/master/LICENSE-MIT\n\n  at your option.\n\n#### Contribution:\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n\n[crate-badge]: https://img.shields.io/crates/v/sig.svg?style=flat-square\n[crate]: https://crates.io/crates/sig\n[docs-badge]: https://img.shields.io/badge/API-docs-blue.svg?style=flat-square\n[docs]: http://adjivas.github.io/sig/sig\n[license-badge]: https://img.shields.io/crates/l/cublas.svg?style=flat-square\n[license]: https://github.com/adjivas/sig/blob/master/README.md#license\n[travis-badge]: https://travis-ci.org/adjivas/sig.svg?style=flat-square\n[travis]: https://travis-ci.org/adjivas/sig\n[circle-badge]: https://circleci.com/gh/adjivas/sig/tree/master.svg?style=svg\n[circle]: https://circleci.com/gh/adjivas/sig/tree/master\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjivas%2Fsig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadjivas%2Fsig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadjivas%2Fsig/lists"}