Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Modify part of the name parameter in shm_open in ltp.#1267

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
txy-21 wants to merge1 commit intolinux-test-project:master
base:master
Choose a base branch
Loading
fromtxy-21:master

Conversation

@txy-21
Copy link

The name parameter of shm_open needs to start with a forward slash:
The operation of shm_open() is analogous to that of open(2). name specifies the shared memory object to be created or opened. For porta‐ ble use, a shared memory object should be identified by a name of the form /somename; that is, a null-terminated string of up to NAME_MAX (i.e., 255) characters consisting of an initial slash, followed by one or more characters, none of which are slashes.

The name parameter of shm_open needs to start with a forward slash:The  operation of shm_open() is analogous to that of open(2).  name specifies the shared memory object to be created or opened.  For porta‐ble use, a shared memory object should be identified by a name of the form /somename; that is, a null-terminated string of up  to  NAME_MAX(i.e., 255) characters consisting of an initial slash, followed by one or more characters, none of which are slashes.Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@txy-21

[8]ページ先頭

©2009-2025 Movatter.jp