elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
man
/
man2
/
fmemalloc.2
File editor
.TH FMEMALLOC 2 .SH NAME _fmemalloc \- allocate far memory outside process .SH SYNOPSIS .nf .ft B _fmemalloc(int \fIparas\fP, unsigned short *\fIpseg\fP) _fmemfree(unsigned short \fIseg\fP) .ft R .fi .SH DESCRIPTION .PP .B _fmemalloc allocates .IR paras paragraphs of main memory from outside the process for use using a __far pointer within the application. The segment address of the memory is stored in the pointer .IR pseg . .PP .B _fmemfree frees the memory segment allocated by a previous .BR _fmemalloc . .SH "RETURN VALUE The value 0 is returned if no error occurs. Otherwise, the call returns a negative error number. .SH ERRORS .I _fmemalloc will fail if one of the following occur: .TP 15 [EFFAULT] .I pseg points outside the process's allocated address space. .TP 15 [NOMEM] The requested amount of memory is not available. .SH "SEE ALSO" .BR fmemalloc (3).
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history