<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/errors/22_EINVAL" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">22 EINVAL - Invalid argument</Title>
	</Header>
	<GeneralSection><TABLE width="100%" borderstyle="default" space-and-orientation="indented-estimated"><TBODY><TR><TD width="596" colspan="2" rowspan="1">
						<Emphasis>Description:</Emphasis>
					</TD>
				</TR>
				<TR><TD width="596" colspan="2" rowspan="1">
						<Paragraph class="Default">This error indicates that an invalid argument was used. For example:</Paragraph> <List><ListItem>Dismount a nonmounted device.</ListItem>
							<ListItem>Mention an undefined signal in <Emphasis>signal</Emphasis> or <Emphasis>kill</Emphasis>.</ListItem>
							<ListItem>Read or write a file for which lseek has generated a negative pointer.</ListItem>
						</List> <Paragraph class="Default">This error can also occur by the math functions.</Paragraph>
					</TD>
				</TR>
				<TR><TD width="596" colspan="2" rowspan="1">
						<Emphasis>Solution:</Emphasis>
					</TD>
				</TR>
				<TR><TD width="596" colspan="2" rowspan="1">Most of the time this error occurs when you try to initialize the shared memory or a database. In that case, you must maintain the kernel.</TD>
				</TR>
			</TBODY>
		</TABLE>
	</GeneralSection>
</ManualTopic>
