Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Untitled #278

Closed
wants to merge 7 commits into from
Closed

Untitled #278

wants to merge 7 commits into from

Conversation

catamorphism
Copy link
Contributor

No description provided.

@graydon
Copy link
Contributor

graydon commented Mar 22, 2011

Integrated.

@graydon graydon closed this Mar 22, 2011
oli-obk pushed a commit to oli-obk/rust that referenced this pull request Sep 19, 2017
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this pull request Dec 12, 2017
Adding syslog functions, constants and structs

This commit adds the functions:-
- syslog
- openlog
- closelog
- setlogmask

It adds LOG_* constants.

It adds the `CODE` struct used by the `#define` definitions `prioritynames` and `facilitynames`.

It does not add:-
- the function `vsyslog`; this is an extension to POSIX and uses va_list macros;
- the `#define`s `prioritynames` and `facilitynames`, as usage is not common
- rust functions mirroring the macros:-
  - LOG_PRI
  - LOG_MAKEPRI
  - LOG_MASK
  - LOG_UPTO
  - LOG_FAC
* `CODE` is included in case a third-party unsafe C function returns or takes it.
workingjubilee pushed a commit to workingjubilee/rustc that referenced this pull request Jul 20, 2022
Move element-specific functions to traits
antoyo added a commit to antoyo/rust that referenced this pull request Oct 9, 2023
celinval pushed a commit to celinval/rust-dev that referenced this pull request Jun 4, 2024
…#278)

* Support boxed closures

* More comments

* Review comments

* Whitespace and test typo

* Cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants