Re: system_info(nif_version) does not work

Daniel Goertzen <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAJCf5RwOHaKOsX6NjLzyO6u0VEb7U_wFrER_2kf3wZQU8cYEHw@mail.gmail.com>
Oops, I didn't realize this was new.  Time for me to update.  Sorry for the
distraction.

Thanks,
Dan.

On Tue, Jan 20, 2015 at 4:25 PM, Steve Vinoski <[email protected]> wrote:

>
>
> On Tue, Jan 20, 2015 at 4:52 PM, Daniel Goertzen <
> [email protected]> wrote:
>
>> The documentation at...
>>
>> http://www.erlang.org/doc/man/erlang.html#system_info-1
>>
>> ... says I can get nif version information with
>> erlang:system_info(nif_version).  This does not work.  See output below:
>>
>>
>>
>> $ erl
>> Erlang/OTP 17 [erts-6.0.1] [source-deacab9] [64-bit] [smp:3:3]
>> [async-threads:10] [hipe] [kernel-poll:false]
>>
>> Eshell V6.0.1  (abort with ^G)
>> 1> erlang:system_info(nif_version).
>> ** exception error: bad argument
>>      in function  erlang:system_info/1
>>         called as erlang:system_info(nif_version)
>> 2>
>>
>>
> Looks like this was added for 17.4. I tried it on 17.3 just to be sure,
> and got the same failure you did. But for 17.4:
>
> $ erl
> Erlang/OTP 17 [erts-6.3] [source] [64-bit] [smp:8:8] [ds:8:8:10]
> [async-threads:10] [kernel-poll:false]
>
> Eshell V6.3  (abort with ^G)
> 1> erlang:system_info(nif_version).
> "2.7"
>
> --steve
>

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.