Re: Best Way to Create String Variables in Assembly
- From: Robert Redelmeier <redelm@xxxxxxxxxxxxxxx>
- Date: Tue, 09 Aug 2005 13:01:06 GMT
Charles A. Crayne <ccrayne@xxxxxxxxxx> wrote:
> "bwaichu{at}yahoo.com" <bwaichu@xxxxxxxxx> wrote:
>
> :/usr/src/sys/kern $ cat syscalls.master | grep brk
> :69 STD { int sys_sbrk(int incr); }
>
> Interestingly enough, I don't have a "/usr/src/sys/kern"
> directory; I don't have a "syscalls.master" file in any
> directory; and my syscalls table shows that syscall 69 is
> 'ssetmask'. [snip] What are you running?
I suspect Brian is running FreeBSD. I get the same on
that system. Interestingly, on Linux, I get:
$ grep brk /usr/include/asm-i386/unistd.h
#define __NR_brk 45
It appears that *BSD has only the sbrk() syscall,
while Linux has only brk(). Slight difference.
-- Robert
.
- Follow-Ups:
- Re: Best Way to Create String Variables in Assembly
- From: bwaichu{at}yahoo.com
- Re: Best Way to Create String Variables in Assembly
- References:
- Best Way to Create String Variables in Assembly
- From: bwaichu{at}yahoo.com
- Re: Best Way to Create String Variables in Assembly
- From: randyhyde@xxxxxxxxxxxxx
- Re: Best Way to Create String Variables in Assembly
- From: f0dder
- Re: Best Way to Create String Variables in Assembly
- From: bwaichu{at}yahoo.com
- Re: Best Way to Create String Variables in Assembly
- From: T.M. Sommers
- Re: Best Way to Create String Variables in Assembly
- From: Charles A. Crayne
- Re: Best Way to Create String Variables in Assembly
- From: bwaichu{at}yahoo.com
- Re: Best Way to Create String Variables in Assembly
- From: Charles A. Crayne
- Best Way to Create String Variables in Assembly
- Prev by Date: Re: Best Way to Create String Variables in Assembly
- Next by Date: Re: How do you pronounce "HLL"
- Previous by thread: Re: Best Way to Create String Variables in Assembly
- Next by thread: Re: Best Way to Create String Variables in Assembly
- Index(es):
Relevant Pages
|