Be aware that the shared memory segment attached in this way may be attached at different addresses in different processes.
Trzeba jednak być świadomym, że ta metoda dołączania segmentu pamięci dzielonej może spowodować jego dołączenie pod różnymi adresami w różnych procesach.
On Linux, it is possible to attach a shared memory segment even if it is already marked to be deleted.
Linux pozwala na dołączenie segmentu pamięci dzielonej, nawet jeśli już został zaznaczony do usunięcia.
Using shmat() with shmaddr equal to NULL is the preferred, portable way of attaching a shared memory segment.
Używanie shmat() z shmaddr równym NULL jest zalecaną i przenośną metodą dołączania segmentu pamięci dzielonej.
On success, shmat() returns the address of the attached shared memory segment; on error, (void ) -1 is returned, and errno is set to indicate the cause of the error.
WARTOŚĆ ZWRACANA Jeśli się powiedzie, shmat() zwraca adres dołączonego segmentu pamięci dzielonej; w razie błędu zwracane jest (void ) -1, a zmienna errno wskazuje na przyczynę błędu.
Number of current alive attaches for this shared memory segment.
If this special value is used for key, the system call ignores everything but the least significant 9 bits of shmflg and creates a new shared memory segment (on success).
Jeśli jako key zostanie użyta ta wartość specjalna, to funkcja zignoruje wszystko oprócz 9 najmniej znaczących bitów shmflg i utworzy nowy segment pamięci wspólnej nie posiadający klucza (jeśli wywołanie zakończy się pomyślnie).
There is no shared memory segment attached at shmaddr; or, shmaddr is not aligned on a page boundary.
Funkcja shmdt może zakończyć się niepomyślnie tylko w sytuacji, gdy pod adresem shmaddr nie istnieje segment pamięci wspólnej.
ID of the process that created the shared memory segment.
There is no shared memory segment attached at shmaddr; or, shmaddr is not aligned on a page boundary.
EINVAL Żaden segment pamięci dzielonej nie jest podłączony pod adresem shmaddr lub shmaddr nie jest wyrównany do granicy strony.
NOTES Using shmat() with shmaddr equal to NULL is the preferred, portable way of attaching a shared memory segment.
Używanie shmat z shmaddr równym NULL jest zalecaną, przenośną motodą dołączania segmentu pamięci wspólnej.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "shared memory segment" in English